pouchdb-vhost
v4.2.0
Published
A PouchDB plug-in that allows you to re-use your CouchDB vhost config on the client side.
Downloads
9,794
Readme
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.