1.0.3 • Published 8 years ago
catbee-config v1.0.3
catbee-config
Isomorphic config loader
Installation
$ npm i catbee-config --save
Usage
Load your config files in this module
var config = require('catbee-config')({
server: require('./serverConf.json'),
browser: require('./browserConf.json')
});
After than you can call without options
var config = require('catbee-config')();
Note: If you call catbee-config
without initialize config files, catbee-config
will throw an exception for undefined arguments.