PouchDB adapter using IndexedDB as its data store. Designed to run in the browser. Its adapter name
is 'idb'
.
npm install pouchdb-adapter-idb
PouchDB.plugin(require('pouchdb-adapter-idb'));
var db = new PouchDB('mydb', {adapter: 'idb'});
For full API documentation and guides on PouchDB, see PouchDB.com. For details on PouchDB sub-packages, see the Custom Builds documentation.
PouchDB and its sub-packages are distributed as a monorepo.
For a full list of packages, see the GitHub source.