Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nisaacson/cradle-nconf

Setup a basic cradle connection using the global nconf object
https://github.com/nisaacson/cradle-nconf

Last synced: about 1 month ago
JSON representation

Setup a basic cradle connection using the global nconf object

Awesome Lists containing this project

README

        

Setup a basic cradle connection using the global nconf object

# Installation
```bash
npm install -S cradle-nconf
```

# Usage

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