Couch-db is a simple node.js client of couchdb
npm install couch-db --save
var couchdb = require('couch-db');
var db = couchdb({
port: 80,
host: 'registry.npm.lc',
auth: {
username: 'Kael'
password: 'blahblah'
}
});
Couchdb path
request
options
Callback
Server data
returns Boolean
whether the current instance has the authentication information.
type function(callback)
Specifies your custom wrapper of each original callback
.