diffo

1.0.5 • Public • Published

Diffo

Recursively create an object that is the difference between two deeply nested objects.

Usage

var diffo = require('diffo');
 
var difference = diffo({a:1}, {a:1, b:2}); // result -> {b:2}

If a value of a key is different between the two objects the value of the second object wil be taken.

Readme

Keywords

Package Sidebar

Install

npm i diffo

Weekly Downloads

59

Version

1.0.5

License

MIT

Last publish

Collaborators

  • mattlarner