Global

Methods

clerk(uri) → {Client|DB}

Clerk library entry point.

Parameters:
Name Type Description
uri String

CouchDB server URI.

Source:
See:
Returns:

If a URI path is given, returns a DB, otherwise returns a Client.

Type
Client | DB

Type Definitions

handler(error, data, status, headers, res)

Handle a clerk response.

Parameters:
Name Type Description
error Error | null

Error or null on success.

data Object

Response data.

status Integer

Response status code.

headers Object

Response headers.

res superagent.Response

Superagent response object.

Source: