1.0.2 • Published 11 years ago
cradle-nconf v1.0.2
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)