Hashes content in directory and returning object with file structure and hashes (useful in tests)
Install with npm:
npm install --save hashdir
var hashdir = ;/* `directory` structure:directory/folder/file2.jsemptyfolder/file1.js*/;
hashdir(path[, opts], cb)
path: path to directory, that you want to be hashed.
Options: Object, that passed to
Callback: function, that recieves
error as first argument and
result object in second.
MIT © Vsevolod Strukchinsky