dhashjs
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Calculates a d-hash for pictures.

Usage:

import { dHash } from "dhashjs";
import * as fs from "fs";

const content = fs.readFileSync("picture.jpg");
dHash.calculateHashAsync(content).then(hash => console.log(hash));

Readme

Keywords

none

Package Sidebar

Install

npm i dhashjs

Weekly Downloads

6

Version

1.4.0

License

ISC

Unpacked Size

6.53 kB

Total Files

9

Last publish

Collaborators

  • cfe84