Licence
ISC
Version
2.0.1
Deps
3
Size
4 kB
Vulns
0
Weekly
0
Requires node >= 10
make-index
This is a command line tool which generates an index.js esm (import/export) file from the filenames within the folder.
Install
npm i -g @toolia/make-indexNavigate to the folder you want to use the command on
cd path/to/directoryRun the command
make-index
Todos
Make it possible to make 'require' modules instead of just esm import/export modules.
Write tests and increase code quality.
Allow recursive version and generally expand functionality where relevant.
Make option to export other files such as
.jsx.