Lodash plugin to update an object with properties of another object and make it deeply equal to it.
To update an object only with difference it has with another object you can use this module to avoid replacing entire object with a new one.
For example if you have a
destinationn object where it needs to be replaced with a
sourcee object that has a very small difference with
destinationn you can use this module as following:
var source =a:one: 1two: 2b:c:three: 314;var destination =a:one: 1two: 2b:c:three: 3;_;// now destination is deeply equal to source without being replaced entirely
include lodash and this module
var _ = ;_;_;
npm run watch to run tests with watch
npm test ro run tests