1.1.2 • Published 2 years ago

index-importer v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Index Importer

This is my fourth npm package 🐙

How to install

In your terminal write: npm i index-importer -g

How to use

In your terminal go to the folder you wish to manipulate and write: index-importer

Example

If the folder has files '.js' like:

aFile.js
bFile.js
cFile.js

index.iporter will create an index.js and import all files like:

const aFile = require('./aFile.js');
const bFile = require('./bFile.js');
const cFile = require('./cFile.js');

module.exports = { 
aFile,
bFile,
cFile,
};