cradle-nconf

1.0.2 • Public • Published

Setup a basic cradle connection using the global nconf object

Installation

npm install -S cradle-nconf

Usage

var config = require('nconf').defaults({
  couch: {
    host: 'localhost',
    port: 5948,
    protocol: 'http'
  }
})
var db = require('cradle-nconf')(config)

/cradle-nconf/

    Package Sidebar

    Install

    npm i cradle-nconf

    Weekly Downloads

    8

    Version

    1.0.2

    License

    BSD

    Last publish

    Collaborators

    • clewfirst