0.0.1 • Published 7 years ago

izi-mailer v0.0.1

Weekly downloads
1
License
MIT
Repository
bitbucket
Last release
7 years ago

izi-config

Simple configuration management module for node.js projects.

Installation

$ npm install git+https://bitbucket.org/izisoft/config-js

Features

  • Support detection of execution phase based on process arguments
  • Support of patching common configuration with phase specific settings
  • Possibility of patching public configuration with local one
  • Configuration can be passed as path to json file or directly as an object

Examples

var config = require('izi-config');
config.init('./config.json', './local.json', { phase_arg: 'm' });
node index.js -m prod