1.0.0 • Published 3 years ago
@inventivetalent/imghash v1.0.0
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);
1.0.0
3 years ago