barrelgen
v1.0.9
Published
This script generates an index.js file that performs sorted module 'barreling' in a components directory. The 'barrel' consists of creating an index file that exports all the components contained in a directory, making it easier to import them into other
Downloads
5
Maintainers
Readme
BarrelGen
This script generates an index.js file that performs sorted module "barreling" of the files from any directory and subdirectories of the provided path. The "barrel" consists of creating an index file that exports all the components contained in a directory, making it easier to import them into other files.
$ npm install -g barrelgen
$ barrelgen /path/to/directory