The PouchMirror API has changed and now requires you to explicitly call pouchMirror.start([options])
to begin replication. Replication can be stopped at any time by calling pouchMirror.pause()
. Your localDB
MUST now be passed in as a PouchDB
instance. All functions not overridden by PouchMirror will now pass through directly to the localDB
. remote
can be a URL string or PouchDB instance.
Browser support has also been added! Just include a script tag below PouchDB.