3 Node's `assert.deepEqual() algorithm` as a standalone module.
5 This module is around [5 times faster](https://gist.github.com/2790507)
6 than wrapping `assert.deepEqual()` in a `try/catch`.
8 [![browser support](https://ci.testling.com/substack/node-deep-equal.png)](https://ci.testling.com/substack/node-deep-equal)
10 [![build status](https://secure.travis-ci.org/substack/node-deep-equal.png)](https://travis-ci.org/substack/node-deep-equal)
15 var equal = require('deep-equal');
18 { a : [ 2, 3 ], b : [ 4 ] },
19 { a : [ 2, 3 ], b : [ 4 ] }
31 var deepEqual = require('deep-equal')
34 ## deepEqual(a, b, opts)
36 Compare objects `a` and `b`, returning whether they are equal according to a
37 recursive equality algorithm.
39 If `opts.strict` is `true`, use strict equality (`===`) to compare leaf nodes.
40 The default is to use coercive equality (`==`) because that's how
41 `assert.deepEqual()` works by default.
45 With [npm](http://npmjs.org) do:
48 npm install deep-equal
53 With [npm](http://npmjs.org) do:
61 MIT. Derived largely from node's assert module.