fs-equals

test pieces of the file system for equality

fs-equals

test pieces of the file system for equality

With npm

$ npm install fs-equals --save

then in your app:

var equals = require('fs-equals')
var assert = require('fs-equals/assert')

Each function is available as either an assertion or boolean predicate test. If your using this module in a test suite you probably want the assertion version since it will provide more useful information about failures

compare whatever happens to be at either path. The result is returned as a Result

test the contents of two directories for equality

test the contents of two files for equality

see the tests

$ npm install
$ make test