node-document-differ

0.1.0-pre2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i node-document-differ

Weekly Downloads

10

Version

0.1.0-pre2

License

none

Last publish

Collaborators

  • grimen