PouchDB's replication and sync algorithm, as a plugin.
npm install pouchdb-replicationpouchdb-replication
======
PouchDB's replication and sync algorithm, as a plugin.
``bash`
npm install pouchdb-replication
`js``
PouchDB.plugin(require('pouchdb-replication'));
var db = new PouchDB('mydb');
db.replicate(/ see replicate/sync API docs for full info /);
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.