Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nisaacson/cradle-nconf
- Owner: nisaacson
- Created: 2013-03-21T01:24:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-21T01:51:28.000Z (over 11 years ago)
- Last Synced: 2024-09-14T08:00:05.447Z (2 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
```