{"name":"export-dirs","description":"Export directories and their files as node.js modules.","version":"0.2.3","homepage":"https://github.com/jonschlinkert/export-dirs","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/export-dirs.git"},"bugs":{"url":"https://github.com/jonschlinkert/export-dirs/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/export-dirs/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"export-files":"^2.0.1"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["export","exports","file","files","module","modules"],"gitHead":"29c3a836f75f3844e43bb450235d8b3264311280","_id":"export-dirs@0.2.3","_shasum":"3b59dbdf8cce5c9d6c83e9025a8ae058a0565c95","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3b59dbdf8cce5c9d6c83e9025a8ae058a0565c95","tarball":"http://registry-npm.ywwl.com/export-dirs/download/export-dirs-0.2.3.tgz","integrity":"sha512-B4NhRO0YYIHg1csqtcSqjqwDl6eKJ8GX9wuxVtK4cPQ/TGuLtw65taOJMPsSMS0MGjV9RkzF4LN2kImxTFQepQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKZz4q1zPQzZ6hy3PtSwAHVkGHypq9/G+NYuMSfpm+EQIgeMD4Pog7mqD2hGERuJwSC7kgxLabAWf3olUpHHkW2FQ="}],"size":2589,"noattachment":false,"key":"/export-dirs/-/export-dirs-0.2.3.tgz"},"directories":{},"readme":"# export-dirs [![NPM version](https://badge.fury.io/js/export-dirs.svg)](http://badge.fury.io/js/export-dirs)\n\n> Export directories and their files as node.js modules.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i export-dirs --save\n```\n\n## Usage\n\n```js\nvar dirs = require('export-dirs');\n```\n\n**Example output**\n\nWhen used in combination with [export-files], the files and directories in [fixtures](./fixtures) result in:\n\n```js\n// all files and directories are flattened onto the `_` object\n{ _:\n   { z: [Function],\n     y: [Function],\n     x: [Function],\n     f: [Function],\n     e: [Function],\n     d: [Function],\n     i: [Function],\n     h: [Function],\n     g: [Function],\n     c: [Function],\n     b: [Function],\n     a: [Function] },\n  // files in the same directory as export-dirs\n  z: [Function],\n  y: [Function],\n  x: [Function],\n  // folders in the same directory as export-dirs\n  two: { f: [Function], e: [Function], d: [Function] },\n  three: { i: [Function], h: [Function], g: [Function] },\n  one: { c: [Function], b: [Function], a: [Function] } }\n```\n\n_(Note that export-dirs does not recurse)_.\n\n## Related projects\n* [to-exports](https://github.com/jonschlinkert/to-exports): Create exports from a directory of non-javascript or javascript files.\n* [export-files](https://github.com/jonschlinkert/export-files): node.js utility for exporting a directory of files as modules.\n* [map-files](https://github.com/jonschlinkert/map-files): Return an object for a glob of files. Pass a `rename` function for the keys, or a `parse` function for the content, allowing it to be used for readable or require-able files.\n* [file-reader](https://github.com/jonschlinkert/file-reader): Read a glob of files, dynamically choosing the reader or requiring the files based on the file extension.\n\n## Running tests\nInstall dev dependencies.\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/export-dirs/issues)\n\n## Author\n\n**Jon Schlinkert**\n \n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) \n\n## License\nCopyright (c) 2015 Jon Schlinkert  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 18, 2015._\n\n[export-files]: https://github.com/jonschlinkert/export-files\n","publish_time":1426684178888,"_cnpm_publish_time":1426684178888,"dist-tags":{"latest":"0.2.4"}}