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