redis-diff
Perform a difference comparison backed by redis.
Install
$ npm install redis-diff --save
Usage
const diff = const noop = {} diff diff // {// added: [ { id: 1, foo: 'baarz' }, { id: 1, foo: 'bax' } ],// removed: [ { id: 1, foo: 'barz' }, { id: 1, foo: 'baaz' } ],// common: [ { id: 1, foo: 'bar' } ]// }
License
MIT © Kiko Beats.