0.0.5 • Published 7 years ago

deep-compare v0.0.5

Weekly downloads
459
License
MIT
Repository
github
Last release
7 years ago

deep-compare Build Status

Deep comparison of objects in JavaScript

Install

$ npm install --save deep-compare

Usage

var deepCompare = require('deep-compare');

deepCompare({name: 'Dang Thanh'}, {name: 'Dang Thanh'});
//=> true

deepCompare({city: 'Ha Noi', population: 7500000}, {city: 'Ho Chi Minh', population: 8000000});
//=> false

API

deepCompare(o1, o2)

o1

Type: Objects

The object is first.

o2

Type: Objects

The object is second.

License

MIT © Dang Van Thanh

0.0.5

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago