node-daff-stream
Turns a sorted-diff-stream into a stream of daff terminal visuals.
You'll want to first batch
the diff stream so that it wont be too big for terminal output.
var diff = var from = var through = var batcher = var daffStream = var older = from
API
You can provide a function to the daffStream which will be used as the way to get access to the row from the original data.
Example:
var older = fromvar newer = from var { // data := { change: ..., row: ... } return datarow}
TODO:
- support html output