node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

xtconf

Build Status # xtconf

Extended qconf based on environment

install

npm install xtconf --save

Usage

Create a config folder and then json files for each environment like config.development.json, config.production.json \config -config.json -config.development.json -config.production.json -config.test.json

 
var config = require('xtconf')();
config.get('setting');
 

You can also create a config.json to share settings against multiple environments