$ npm install couchdb-changes-responseMimic CouchDB's _changes response in a streaming fashion.
npm i couchdb-changes-response
Please note: this module is heavily WIP, only continuous feed is supported right now.
var ChangesResponse = require('couchdb-changes-response')
var response = new ChangesResponse({
type: 'continuous'
}))
response.write({
id: 'foobar',
seq: 132,
doc: {
id: 'foobar',
bar: 'foo'
})
})