app-context-connie

connie initializer for app-context

Usage no npm install needed!

<script type="module">
  import appContextConnie from 'https://cdn.skypack.dev/app-context-connie';
</script>

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