A PouchDB plug-in that allows you to re-use your CouchDB list functions on the client side. A browser version is available.
NodeJS package name:
Browser object name:
First, make sure you understand how list functions work in CouchDB. A good start is the CouchDB guide entry on lists.
List.list(listPath[, options[, callback]])
Runs a list function on a view. Both are specified via the
listPath: a url of the form
options: this object is supplemented with defaults until a complete
CouchDB request object
has been formed, which is then passed into the list function.
Returns: When succesful, the list function's result in the form of a CouchDB response object. Otherwise, an error object with one of the following statuses: 400, 404, 406 or 500.
PouchDB Server and its sub-packages are distributed as a monorepo.
For a full list of packages, see the GitHub source.
The Apache 2 License. See the LICENSE file for more information.