New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pouchdb-replicator

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-replicator

A PouchDB plug-in that simulates CouchDB's replicator database daemon.

  • 4.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
663
decreased by-50.74%
Maintainers
4
Weekly downloads
 
Created
Source

pouchdb-replicator

A PouchDB plug-in that simulates CouchDB's replicator database daemon. A browser version is available.

Version 2.0.0 onward uses prefixed replication fields (_replication_state instead of replication_state). This requires a version of PouchDB in which issue 2442 is solved.

API

NodeJS package name: pouchdb-replicator

Browser object name: window.Replicator

First, make sure you understand the CouchDB replicator database. A good starting point is its documentation.

Replicator.startReplicator([callback])

Starts a CouchDB-like replication 'daemon' which listens on the current database like CouchDB does on the _replicator database.

This allows you to persist replications past a page refresh, and provides an alternative api for :js:func:PouchDB.replicate and friends.

Replicator.stopReplicator([callback])

Stops the 'daemon' that :js:func:Replicator.startReplicator started.

Source

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

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

License

The Apache 2 License. See the LICENSE file for more information.

Keywords

FAQs

Package last updated on 25 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc