@anio-node-foundation/fs-hash-file

3.0.0 • Public • Published

@anio-node-foundation/fs-hash-file

Synchronously calculate the checksum of a file.

import nodeFsHashFile from "@anio-node-foundation/fs-hash-file"

console.log(
	await nodeFsHashFile("./examples/example.mjs", "sha256")
)

console.log(
	nodeFsHashFile.sync("./examples/example.mjs", "sha1", "base64")
)

Readme

Keywords

none

Package Sidebar

Install

npm i @anio-node-foundation/fs-hash-file

Weekly Downloads

4

Version

3.0.0

License

MIT

Unpacked Size

8.95 kB

Total Files

3

Last publish

Collaborators

  • exory2024
  • dasdeo