Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A customizable CouchDB replicator in node.js.
JavaScript
branch: master

This branch is 6 commits ahead, 3 commits behind mikeal:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
bin.js
main.js
package.json

README.md

Usage:

Replicator(options)

Where options is an object containing the following:

  • from: The source database URL (can include username/password.) Required.
  • to: The target database (can include username/password.) Required.
  • filter: Function called before a document is added to the destination database. Return true if the document should be added, false if it should be skipped. The function is called with (id, rev) of each document. Optional.
  • since: Change seq identifier to start from when doing continous replication. Optional.
  • mutation: Not implemented?
Something went wrong with that request. Please try again.