This is a node.js library wrapping PDQ Hash.
import { pdq } from "pdq";
const buffer = fs.readFileSync("./test_data/bridge-1-original.jpg");
const data = Uint8Array.from(buffer);
const hash = pdq(data);
A simple Node.js library wrapping Rust implementation of PDQ Hash.
This is a node.js library wrapping PDQ Hash.
import { pdq } from "pdq";
const buffer = fs.readFileSync("./test_data/bridge-1-original.jpg");
const data = Uint8Array.from(buffer);
const hash = pdq(data);
A simple Node.js library wrapping Rust implementation of PDQ Hash.
Apache License 2.0