JSPM

  • Created
  • Published
  • Downloads 11879
  • Score
    100M100P100Q144748F
  • License Apache-2.0

PouchDB adapter using HTTP (e.g. a remote CouchDB) as its data store.

Package Exports

  • pouchdb-adapter-http
  • pouchdb-adapter-http/lib/index.es.js
  • pouchdb-adapter-http/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pouchdb-adapter-http) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

pouchdb-adapter-http

PouchDB adapter using HTTP (e.g. a remote CouchDB or CouchDB-like database) as its data store. Designed to run in either Node or the browser. Its adapter name is 'http' or 'https' depending on the protocol.

Usage

npm install pouchdb-adapter-http
PouchDB.plugin(require('pouchdb-adapter-http'));
var db = new PouchDB('http://127.0.0.1:5984/mydb');

For full API documentation and guides on PouchDB, see PouchDB.com. For details on PouchDB sub-packages, see the Custom Builds documentation.

Source

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

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