pouchdb-vhost

4.2.0 • Public • Published

pouchdb-vhost

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

API

NodeJS package name: pouchdb-vhost

Browser object name: window.VirtualeHost

This plug-in is a single function which requires a PouchDB object as its first argument. Following that, these extra methods become available.

PouchDB.virtualHost(req, vhosts[, options[, callback]])

PouchDB.resolveVirtualHost(req, vhosts)

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.

Package Sidebar

Install

npm i pouchdb-vhost

Weekly Downloads

1,015

Version

4.2.0

License

Apache-2.0

Unpacked Size

34.9 kB

Total Files

5

Last publish

Collaborators

  • jan
  • daleharvey
  • garrensmith
  • nolanlawson
  • commandoline