{"name":"export-dirs","description":"Export directories and their files as node.js modules.","version":"0.2.1","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"],"_id":"export-dirs@0.2.1","_shasum":"50696f3fb9593a1ac4ef4692d836b3f478cb27dc","_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":"50696f3fb9593a1ac4ef4692d836b3f478cb27dc","tarball":"http://registry-npm.ywwl.com/export-dirs/download/export-dirs-0.2.1.tgz","integrity":"sha512-VMqb7sl0/N/3VxfWHZWlsb9wAeqcJpdYxvcBXgPR3lo6rin3ysGZ3Fgv/3ehpEQVBC5ES5WqjzSzicFDJ6IwWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFOufbcOh3GwfJQzxnCiBhJfNrYNhZYlSgFs7DJuW54gIhAKszEtlR6MWUNuJOl39nzTpsogDmFYhJ2ncj3lRun+Ok"}],"size":2232,"noattachment":false,"key":"/export-dirs/-/export-dirs-0.2.1.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":1426683211883,"_cnpm_publish_time":1426683211883,"dist-tags":{"latest":"0.2.4"}}