Calculates the MD5 hash of a file and returns a promise that resolves with the hash.
The options for the hash operation.
The path to the file for which the hash is to be calculated.
import { getFileMd5 } from "nsuite";const md5 = await getFileMd5({ pathFile: "./package.json" }); Copy
import { getFileMd5 } from "nsuite";const md5 = await getFileMd5({ pathFile: "./package.json" });
Calculates the MD5 hash of a file and returns a promise that resolves with the hash.