izi-mailer

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i izi-mailer

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • izisoft