No description or website provided.
JavaScript
Pull request Compare This branch is 4 commits ahead of Automattic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
History.md
Makefile
Readme.md
index.js
package.json

Readme.md

mydb-tail

Tails the oplog and emits operations. Formerly mydb-slave.

How to use

require('tail')({
  mongo: 'localhost:27017/local',
  redis: 'localhost:6379',
  ns: 'cloudup-development.*'
});

API

tailer(opts)

Options are:

  • mongo mongo uri or instance pointing to the local database to tail
  • redis redis uri or instance
  • ns optionally, namespace to filter by (eg: cloudup.*)
  • query query to tail from