cdbmanager v1.0.7
CDBManager
Introduction
CDBManager is a node module to abstract all interactions to CouchDB through Node Rest Client. This is to support a legacy version of node js (version 0.10.26) application to the latest version of CouchDB.
Getting Started
Guide users through getting your code up and running on their own system. In this section you can talk about:
Installation process
This is a Node.js module available through the npm registry. Before installing, download and install Node.js. Node.js 0.10.26 is required. Installation is done using the npm install command:
npm install cdbmanager
Usage
var CDBManager = require('cdbmanager');
var DatabaseHelper = function (app) {
var manager = new CDBManager(app);
self._manager = manager;
manager.getDocumentWithID({dbName: "db-name", docId: "your document ID"}, function(error, response) {
console.log(error, response);
});
}
Build and Test
CDBManager Node module has dependency to the following node modules with the versions specified:
- dotenv: 2.0.0
- node-rest-client: 1.8.0
- traverse: 0.6.6
- uuid-v4: 0.1.0
- winston: 0.7.2
If you are interested to use this module, please contact the author.
Contribute
This version is to support very old version of node js, the project is not requesting technical contributions at this time.