Drop-in replacement for pouchdb-adapter-idb, which uses IndexedDB as its data store.
Its adapter name is 'idb-purge'
.
npm install pouchdb-adapter-idb
PouchDB.plugin(require('pouchdb-adapter-idb-purge'));
var db = new PouchDB('mydb', {adapter: 'idb-purge'});