assert-dir-equal

Assert that the contents of two directories are equal.

assert-dir-equal

Assert that the contents of two directories are equal.

$ npm install assert-dir-equal
var assert = require('assert-dir-equal');
 
// doesn't throw 
assert('path/to/dir', 'path/to/identical-dir');
 
// throws 
assert('path/to/dir', 'path/to/different-dir');

MIT