0.1.2 • Published 10 years ago

deep-equal-with-difflet v0.1.2

Weekly downloads
5
License
MIT/X11
Repository
github
Last release
10 years ago

deep-equal-with-difflet

deepEqual using difflet to show the diff.

install

With npm do:

npm install deep-equal-with-difflet

usage

var assert = require('assert');
assert.deepEqualWithDifflet = require('deep-equal-with-difflet');

var a = { a: 1, b: 2 },
    b = { b: 2, a: 1, c : function() {} };

assert.deepEqualWithDifflet(a, b);

examples

just node:

node example/example.js

with mocha:

mocha example/example_test.js

license

MIT/X11

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago