Package Exports
- hashthefile
- hashthefile/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hashthefile) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Hash The File
An Easy Way To Hash Files.
Install
Install this package with:
npm i hashthefileUsage
to create SHA256 hash of file enter this code:
const filehasher = require('hashthefile');
console.log(filehasher.getfileHash("FILENAME"));
//4ea5c508a6566e76240543f8feb06fd457777be39549c4016436afda65d2330eto get MD5 hash text, enter this code:
const filehasher = require('hashthefile');
console.log(filehasher.gettextMD5("text"));
//168726dbe96b3ce427e7fedce31bb0bcEnd
this is the end! creator is GHALBEYOU