1.1.3 • Published 1 year ago

index-maker v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Index Maker

2kb zero dependency library to create index.js files automatically

1. Install the package

npm i -D index-maker

2. Add script to package.json or run it directly

"indexer": "index-maker src/**/*.js"

3. Optionally specify index file name with flag -i and extention of import files -x (you might need it to work with typescript)

index-maker src/**/*.ts -i index.ts -x js

4. To export also from inner folders, use flag -f

index-maker src/**/*.ts -f

5. To export defaults as file name, use flag -d

index-maker src/**/*.ts -d


This is ESM module only

1.1.1

1 year ago

1.1.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago