JSPM

node-document-differ

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q39730F

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

Package Exports

  • node-document-differ

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-document-differ) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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