Differ adapter interface for `node-document` ODM for Node.js.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.env
.gitignore
.travis.yml
MIT-LICENSE
Makefile
README.md
index.js
package.json

README.md

NODE-DOCUMENT-DIFFER Build Status

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

About

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

Adapters

API

#diff

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

    differ.diff({foo: 'bar'}, {foo: 'baz', bar: 1}, function(err, res) {
      // console.log(arguments);
    });

Installation

  $ npm install node-document-differ

Test

Local tests:

  $ make test

License

Released under the MIT license.

Copyright (c) Jonas Grimfelt

Bitdeli Badge