isEqual
v1.0.3
Published
## Install
Downloads
274
Readme
Find Differences Between two JavaScript Objects
Install
npm install -g objisequal
Then
in your index.js
var fun = require('objisequal');
Use the function
var result = fun(obj1, obj2);
or
var result = fun(obj1, obj2, false);
Return an array.Like this: (Every item show whether the value in obj1 and obj2 is equal.)
['true','false',['true']]
Also you can
var result = function_name(obj1, obj2, true);
console.log(result); //true or false
Only return true or false .