@gayansandamal/ez-object-diff
v1.0.4
Published
Easily get the difference between two objects
Downloads
4
Maintainers
Readme
Ez Object Diff
Easily get the difference between two objects
Installation
Find the repository on GitHub Reach me on LinkedIn Install the module.
npm i @gayansandamal/ez-object-diff
How to use
// require the package
const getObjectDiff = require('@gayansandamal/ez-object-diff');
// main object
const a = {
firstName: 'Savindi',
lastName: 'Dilshara',
familyName: 'Weerakoon',
};
// second object
const b = {
firstName: 'Savindi',
lastName: 'Dilshara',
familyName: 'Punniyasoma',
};
console.log(getObjectDiff(a, b));
License
MIT