1.0.9 • Published 8 months ago

barrelgen v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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

Gif-Example

Img-Example

Folder structure used in the example

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.0.0

10 months ago