@allthings/objectdiff
v2.0.3
Published
Compares JavaScript objects
Downloads
1,431
Readme
objectDiff
Fork of objectdiff
objectDiff.diff(objectA, objectB)
objectDiff.diffOwnProperties(objectA, objectB)
Same as objectDiff.diff, but compares only objects' own properties
objectDiff.convertToXMLString(diffObject)
Used on the demo page.
Jasmine integration
objectDiff provides toEqualProperties
and toEqualOwnProperties
matchers for Jasmine.
See example spec.