{"name":"export-dirs","description":"node.js utility for exporting directories as modules.","version":"0.1.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"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/export-dirs/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["export","exports","file","files","module","modules"],"dependencies":{"files-filters":"^0.1.1","filter-files":"^0.2.5"},"_id":"export-dirs@0.1.1","_shasum":"8b2354db080beb13231d1cc8d839efa93c0770c3","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8b2354db080beb13231d1cc8d839efa93c0770c3","tarball":"http://registry-npm.ywwl.com/export-dirs/download/export-dirs-0.1.1.tgz","integrity":"sha512-TFdNxZBvD3cLL0YpjAh+sSmNfaE4ybYtAoMy9g0wBnhXF776TEfGG3VBoMH00idMIwzTmOYTE5T5T8ICyUCiQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICw/O9bURcEbfWKgzrEZxBADpdey7DRxgx3hWe5X5CPTAiBxNfd6ftOZsmcldgmX7xkw0nb0y8AQ9NE9eR4l+mD4ig=="}],"size":2617,"noattachment":false,"key":"/export-dirs/-/export-dirs-0.1.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":1415914190722,"_cnpm_publish_time":1415914190722,"dist-tags":{"latest":"0.2.4"}}