1.0.2 • Published 11 years ago

cradle-nconf v1.0.2

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

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)