node-document-differ

Differ adapter interface for node-document ODM for Node.js.

NODE-DOCUMENT-DIFFER

Differ adapter interface for node-document ODM for Node.js.

Unified interface for diffing objects to see changes between the two (additions/removals/edits).

  • (a, b, [callback(err, res)])

    differ.diff({foo: 'bar'}, {foo: 'baz', bar: 1}, function(errres) {
      // console.log(arguments); 
    });
  $ npm install node-document-differ

Local tests:

  $ make test

Released under the MIT license.

Copyright (c) Jonas Grimfelt