i-config

1.0.7 • Public • Published

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);

/i-config/

    Package Sidebar

    Install

    npm i i-config

    Weekly Downloads

    3

    Version

    1.0.7

    License

    none

    Last publish

    Collaborators

    • alessandro.donateo