Skip to content

italotech/all-dbs-changes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

all-dbs-changes

EventEmitter on _all_dbs

var allDBsChangesPool = require('all-dbs-changes');
var couch_url = 'http://localhost:5984';

allDBsChangesPool.start(couch_url, function (err, pool) {

  if (err) {
    console.log(err);
  }

  pool.on('change', function (db) {
    db.data.results.forEach(function (result) {
      /.../
    });

  });

});

todos:

  • request queue
  • pass through options to changes feed.

About

Changes feed for CouchDB's _all_dbs Database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published