i-config
v1.0.7
Published
share configuration file between nodejs modules
Downloads
5
Maintainers
Readme
i-config
A simple utility which aims to keep the same configuration file throught different modules. see also: http://eng.datafox.co/nodejs/2014/09/28/nodejs-config-best-practices/
Install
$ npm install --save i-config
Configuration
edit the follow 3 files locate below the folder node_modules/i-config
- production.js
- staging.js
- development.js
Usage
var conf = require ("i-config");
console.log(conf.redis.host);