cdb v0.3.4
Table of Contents
cdb
Library for couchdb designed for rlx using request.
This module differs from modules such as nano in that it is designed to have feature parity with the couch-api. As such it exhibits some interesting behaviour:
- Encapsulates many constants for couchdb, see constants.
- Stashes request information so that a history of requests is available and the last request may be repeated (useful for lazy authentication).
- Exposes schema descriptors that may be used with async-validate, see schema.
Install
npm i cdb --saveDeveloper
Test
Run the test specifications:
npm testCover
To generate code coverage run:
npm run coverLint
Run the source tree through jshint and jscs:
npm run lintClean
Remove generated files:
npm run cleanImport
Imports configuration data from default.ini into config.js:
npm run importReadme
To build the readme file from the partial definitions:
npm run readmeGenerated by mdp(1).
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago