Get the MD5-sum of a given file, with low memory usage, even on huge files.
npm install --save md5-file
const md5File =/* Async usage *//* Sync usage */const hash = md5Fileconsole
$ md5-file LICENSE.md
If you require
md5-file/promise you'll receive an alternative API where all
functions that takes callbacks are replaced by
const md5File =
md5File(filepath: string, cb: function)
Asynchronously get the MD5-sum of the file at
cb will be called with
(err: Error, hash: string).
md5File.sync(filepath: string) => string
Synchronously get the MD5-sum of the file at