Socket
Socket
Sign inDemoInstall

pouchdb-vhost

Package Overview
Dependencies
4
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pouchdb-vhost

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


Version published
Weekly downloads
1.3K
increased by16.74%
Maintainers
4
Install size
72.6 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 25 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc