{"_id":"export-dirs","_rev":"16-a93f3562159b6af9935c7b7c6acbc078","name":"export-dirs","description":"Export directories and their files as node.js modules.","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.0":{"name":"export-dirs","description":"node.js utility for exporting directories as modules.","version":"0.1.0","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":["docs","documentation","generate","generator","markdown","templates","verb"],"dependencies":{"files-filters":"^0.1.1","filter-files":"^0.2.5"},"_id":"export-dirs@0.1.0","_shasum":"d08e312332642ddb260258a3ce3ca4a0b261bff7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d08e312332642ddb260258a3ce3ca4a0b261bff7","tarball":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.1.0.tgz","integrity":"sha512-JJZjlA4eyJJG/tZGs6SYWWBxeCLKt2TCwbzIZJzTbuNHfz8xfv1Z+gs1C8I5Yp2Kr9hj1oxErHu5JX3WKkzSSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8d7ENSklFmzPBoA6U9DvVKM2CEUJ2+B1Rz3hfpPYNbwIgQaC2/i7ZAWgSq6mbATuyxqELkQYyOURhLHgNHkAhxAE="}]}},"0.1.1":{"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":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.1.1.tgz","integrity":"sha512-TFdNxZBvD3cLL0YpjAh+sSmNfaE4ybYtAoMy9g0wBnhXF776TEfGG3VBoMH00idMIwzTmOYTE5T5T8ICyUCiQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICw/O9bURcEbfWKgzrEZxBADpdey7DRxgx3hWe5X5CPTAiBxNfd6ftOZsmcldgmX7xkw0nb0y8AQ9NE9eR4l+mD4ig=="}]}},"0.2.0":{"name":"export-dirs","description":"Export directories and their files as node.js modules.","version":"0.2.0","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":"^2.2.1","should":"^5.2.0"},"keywords":["export","exports","file","files","module","modules"],"_id":"export-dirs@0.2.0","_shasum":"7c36a2fab69cf6fce3f9f10a04863d505dc386c8","_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":"7c36a2fab69cf6fce3f9f10a04863d505dc386c8","tarball":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.2.0.tgz","integrity":"sha512-/cNDTUxJpsGulm7i4GTn6BkahbI7YH5ali9zNzdmepRicrTT3j81FYHIbFH7M1s+FZ+PfdMXIofeaT6S02H5iA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGy/PQ09uwotxgr3vXBeOaaYQlPwatQ+eFRRaLS77izrAiEAkBdYaAmF4dwRc/tp2s87luhcT9/Hfawgbv+sp8A0BrM="}]}},"0.2.1":{"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":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.2.1.tgz","integrity":"sha512-VMqb7sl0/N/3VxfWHZWlsb9wAeqcJpdYxvcBXgPR3lo6rin3ysGZ3Fgv/3ehpEQVBC5ES5WqjzSzicFDJ6IwWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFOufbcOh3GwfJQzxnCiBhJfNrYNhZYlSgFs7DJuW54gIhAKszEtlR6MWUNuJOl39nzTpsogDmFYhJ2ncj3lRun+Ok"}]}},"0.2.2":{"name":"export-dirs","description":"Export directories and their files as node.js modules.","version":"0.2.2","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":"799336ba7edd4cbc59527bc3b5cf5785993e7302","_id":"export-dirs@0.2.2","_shasum":"3563a75152ce01fc69a117185f9066b8853d9745","_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":"3563a75152ce01fc69a117185f9066b8853d9745","tarball":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.2.2.tgz","integrity":"sha512-GBIUw9b598ARfjxgUEq/M4BKp6TPT8LttygGemvjut2wJDAi89LoP9oSNpTOButlQil4bGxII3YSanXoUS6EDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEyM/Xg3HihyId+jIR5Nb9YBLx2pOlEqmFplVXTpgm0uAiEA4VrIi1u0C/jxWzuZYZqmCxV4yeGTT1Tn/MrhVrtXIR4="}]}},"0.2.3":{"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":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.2.3.tgz","integrity":"sha512-B4NhRO0YYIHg1csqtcSqjqwDl6eKJ8GX9wuxVtK4cPQ/TGuLtw65taOJMPsSMS0MGjV9RkzF4LN2kImxTFQepQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKZz4q1zPQzZ6hy3PtSwAHVkGHypq9/G+NYuMSfpm+EQIgeMD4Pog7mqD2hGERuJwSC7kgxLabAWf3olUpHHkW2FQ="}]}},"0.2.4":{"name":"export-dirs","description":"Export directories and their files as node.js modules.","version":"0.2.4","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"},"devDependencies":{"export-files":"^2.0.1","mocha":"*","should":"*"},"keywords":["export","exports","file","files","module","modules"],"gitHead":"716a9e7988a41fbe97ba4a339db0d5741c4bdadc","_id":"export-dirs@0.2.4","_shasum":"2e16b9b46ebc2c07acb657ccdfbe3845393fe742","_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":"2e16b9b46ebc2c07acb657ccdfbe3845393fe742","tarball":"https://registry.npmjs.org/export-dirs/-/export-dirs-0.2.4.tgz","integrity":"sha512-fBQ2iiw2FPxyzsOOVpWICXUNbuSBanxYYyDy1gaF4Gpfp7UkiuPA6N57Daqf7FpFDyT3g1+L+Rz4tr4aRj9SRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHbWY0KV0LjwOSyVeNozUbm910JapFGskmCNzXb9Mi0gIhALn63g6wAH9FqqIjS20P9KI+m7Jnjy/c2w2I62zpETmW"}]}}},"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","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-17T22:05:05.842Z","created":"2014-11-13T13:21:54.203Z","0.1.0":"2014-11-13T13:21:54.203Z","0.1.1":"2014-11-13T21:29:50.722Z","0.2.0":"2015-03-18T12:51:45.066Z","0.2.1":"2015-03-18T12:53:31.883Z","0.2.2":"2015-03-18T12:59:55.779Z","0.2.3":"2015-03-18T13:09:38.888Z","0.2.4":"2015-03-18T13:18:23.082Z"},"homepage":"https://github.com/jonschlinkert/export-dirs","keywords":["export","exports","file","files","module","modules"],"repository":{"type":"git","url":"git://github.com/jonschlinkert/export-dirs.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/export-dirs/issues"},"readmeFilename":"README.md","license":{"type":"MIT","url":"https://github.com/jonschlinkert/export-dirs/blob/master/LICENSE"}}