Package Exports
- export-files
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (export-files) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
export-files 
node.js utility for exporting a directory of files as modules.
Install
Install with npm
npm i export-files --save
Run tests
npm test
Usage
Given you have the following files:
lib/
foo.js
bar.js
baz.js
Add the following to lib/index.js
:
module.exports = require('export-files')(__dirname);
//=> {foo: [function], bar: [function], baz: [function]}
To only return modules in the immediate directory (e.g. don't recurse):
// pass `false` as the last parameter
module.exports = require('export-files')(__dirname, false);
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on November 15, 2014.