pouchdb-show

A PouchDB plug-in that allows you to re-use your CouchDB show functions on the client side.

Usage no npm install needed!

<script type="module">
  import pouchdbShow from 'https://cdn.skypack.dev/pouchdb-show';
</script>

README

pouchdb-show

A PouchDB plug-in that allows you to re-use your CouchDB show functions on the client side. A browser version is available.

API

NodeJS package name: pouchdb-show

Browser object name: window.Show

First, make sure you understand how show functions work in CouchDB. A good start is the CouchDB guide entry on shows

Show.show(showPath[, options[, callback]])

Similar to the List.list function, but then for show functions. Only differences are documented.

showPath: specifies the show (and optionally the document) to use. Has the following form: designDocName/showName[/docId]

Source

PouchDB Server and its sub-packages are distributed as a monorepo.

For a full list of packages, see the GitHub source.

License

The Apache 2 License. See the LICENSE file for more information.