pouchdb/pouchdb-vhost

Name: pouchdb-vhost

Owner: PouchDB

Description: A PouchDB plug-in that allows you to re-use your CouchDB vhost config on the client side.

Created: 2015-08-19 08:51:46.0

Updated: 2016-02-05 10:31:54.0

Pushed: 2018-01-27 08:38:43.0

Homepage: null

Size: 8

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

pouchdb-vhost

Build Status Dependency Status devDependency Status

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

TODO: update, expand, rst -> md.

pouchdb-vhost-plug-in:

hDB VirtualHost plug-in
=======================
-------------------+------------------------+
deJS package name: | `pouchdb-vhost`_       |
-------------------+------------------------+
owser object name: | ``window.VirtualHost`` |
-------------------+------------------------+

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

pouchdb-vhost: https://www.npmjs.org/package/pouchdb-vhost

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

s:function:: PouchDB.resolveVirtualHost(req, vhosts)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.