Borschik hash function to freeze files.
$ npm install --save-dev borschik-hash
var borschikHash = require('borschik-hash');
var contents = fs.readFileSync('path/to/file');
var hash = borschikHash(contents);
// ➜ LWJmVQ8Q4Kn5C4mK3iYXHyieR7g
$ borschik-hash path/to/file
LWJmVQ8Q4Kn5C4mK3iYXHyieR7g
MIT © Andrew Abramov