2conf 中文文档教程
Config
v.1.0.2
Install
首先,你需要设置新的注册表:
npm --save install 2conf
Usage Example
cat index.js
var Config = require('2conf');
var config = new Config(process.env.ENV);
console.log(config);
Change Log
Created by
Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua
Config
v.1.0.2
Install
First of all, you need to set up new registry:
npm --save install 2conf
Usage Example
cat index.js
var Config = require('2conf');
var config = new Config(process.env.ENV);
console.log(config);
Change Log
Created by
Dimitry Ivanov 2@ivanoff.org.ua # curl -A cv ivanoff.org.ua