@gotoeasy/hash
simple file/string hash
Install
npm i @gotoeasy/hash
Sample
const hash = require('@gotoeasy/hash');
let rs, file = './.npmignore';
rs = hash({file}); // rs: 1cspo7f
rs = hash('12345'); // rs: 1tgml0
Links
-
npm-packages
https://github.com/gotoeasy/npm-packages