1.0.3 • Published 8 years ago

catbee-config v1.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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.

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago