couchdb-all-dbs-changes

read stream changes feed for CouchDB's _all_dbs Database.

Usage no npm install needed!

<script type="module">
  import couchdbAllDbsChanges from 'https://cdn.skypack.dev/couchdb-all-dbs-changes';
</script>

README

couchdb-all-dbs-changes

readable stream on couchdb' _all_dbs


  var couch_url = 'http://localhost:5984';
  var ChangesFeed = require('./index');

  var feed = new ChangesFeed({
    url: couch_url
  });

  feed.on('data', function (a) {
    /.../
  });

  feed.on('error', function (err) {
    /.../
  });

todos:

  • pass through options to changes feed.