config-helper
Provide a simple config loader based on NODE_ENV
installation
npm install config-helper
Default usage
config/
developement.js
test.js
production.js
const config = path: 'config/';
Multi usage
path/config/
developement/
core.js
database.json
...
test/
production/
const config = path :'path/config' multi :true;