Socket
Book a DemoInstallSign in
Socket

cdb

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdb

Couchdb library

latest
Source
npmnpm
Version
0.3.4
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

Table of Contents

  • cdb

cdb

Build Status npm version Coverage Status.

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 --save

Developer

Test

Run the test specifications:

npm test

Cover

To generate code coverage run:

npm run cover

Lint

Run the source tree through jshint and jscs:

npm run lint

Clean

Remove generated files:

npm run clean

Import

Imports configuration data from default.ini into config.js:

npm run import

Readme

To build the readme file from the partial definitions:

npm run readme

Generated by mdp(1).

Keywords

couchdb

FAQs

Package last updated on 27 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts