1.1.0 • Published 11 years ago

objectdiff v1.1.0

Weekly downloads
11,428
License
-
Repository
github
Last release
11 years ago

#objectDiff

objectdiff on npm

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.