misantronic / js-indexer

creates index-file for a given folder and exports everything inside

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

js-indexer

creates index-file for a given folder to expose everthing inside

usage

npm install js-indexer --save-dev

./node_modules/.bin/js-indexer ./src/components/index.js ./src/utils/index.ts

filter via regexp

./node_modules/.bin/js-indexer --filter 'index\.js' ./src/components/index.js ./src/utils/index.ts

test-files and files with leading _ will be excluded.

About

creates index-file for a given folder and exports everything inside

License:MIT License


Languages

Language:JavaScript 100.0%