NodeTools
Import the library
import { NodeTools } from "@bettercorp/tools/lib/NodeTools";
Methods
getFileHash
Gets the filehash for a file / file stream (ReadStream).
await getFileHash("./myFile.txt"); // async - returns a basic hash of the input in HEX.