README
commonjs-indexer
Automatically create an index.js file from specified directory
Install
npm install -g commonjs-indexer
Usage
commonjs-indexer <directory> > <outputFile>
Example
commonjs-indexer ./ > index.js
Automatically create an index.js file from specified directory
<script type="module">
import commonjsIndexer from 'https://cdn.skypack.dev/commonjs-indexer';
</script>
Automatically create an index.js file from specified directory
npm install -g commonjs-indexer
commonjs-indexer <directory> > <outputFile>
commonjs-indexer ./ > index.js