app-context-connie
v1.1.0
Published
connie initializer for app-context
Downloads
6
Readme
app-context-connie
connie initializer for app-context
Installation
$ npm install --save app-context-connie
Usage
module.exports = function() {
this.runlevel('configured')
// load configuration from a JSON file
.use('connie', 'file', 'config/${environment}.json')
// load configuration from a directory
.use('connie', 'dir', 'config/${environment}')
// load configuration from a JSON HTTP endpoint
.use('connie', 'http', 'http://user:[email protected]/config.json');
};