nconf-appconfig

0.0.1 • Public • Published

nconf-appconfig

IBM Cloud App Configuration store for nconf

Installation

Installing npm (node package manager)

  $ curl http://npmjs.org/install.sh | sh

Installing nconf-appconfig

  $ [sudo] npm install nconf
  $ [sudo] npm install nconf-appconfig

Usage

The store provided by nconf-appconfig will persist all of your configuration settings to a IBM Cloud App Configuration server. All calls to .get() are asynchronous taking an additional callback parameter.

  var nconf = require('nconf');
  
  //
  // Requiring `nconf-appconfig` will extend the `nconf`
  // module.
  //
  require('nconf-appconfig');
  
  nconf.use('appconfig', { region: 'us-south', guid: 'guid', apikey: 'apikey', collectionId: 'collection', environmentId: 'dev' });

Author: Josephine Eskaline Joyce

Package Sidebar

Install

npm i nconf-appconfig

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

5.49 kB

Total Files

4

Last publish

Collaborators

  • josephinejustin