app-context-connie

1.1.0 • Public • Published

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:pass@my-config-server.com/config.json');
};

Readme

Keywords

Package Sidebar

Install

npm i app-context-connie

Weekly Downloads

8

Version

1.1.0

License

none

Last publish

Collaborators

  • mattinsler