JSON-diff-patch-stream
Two transform streams to send JSON diffs and parse JSON patches
installation
$ npm install --save json-diff-patch-stream
use
const createDiffSource = createSourceconst diffSource = // Transform streamprocessstdin
get approximately this:
$ node myStream.js{"a":2} # prints { a: [2] }