@inventivetalent/imghash
v1.1.1
Published
Image content hash
Downloads
125
Readme
imghash
npm install --save @inventivetalent/imghash
import { imageHash } from "@inventivetalent/imghash";
import { readFileSync } from "fs";
const data = readFileSync("test.png");
const hash = await imageHash(data, { algorithm: "sha256" });
console.log(hash);