@amedee/pdq

0.1.1 • Public • Published

PDQ.js - Javascript version

This is a version of PDQ compiled to Javascript/WASM with the Emscripten C->JS compiler.

It exports an ES Module with .mjs extension (for web) and a CommonJS module for node (for use with require()).

Example uses are found in test.js (node) and test.html (web).

Dependencies

Emscripten (emcc and related) tools are needed for the build.

Notes

ATM the ESM module only supports web and the CJS module only supports running in node. When https://github.com/emscripten-core/emscripten/issues/11792 and related issues are fixed,

First todo is to make a wrapper function that returns the results of report() as an object instead of logging to the console.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i @amedee/pdq

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

374 kB

Total Files

5

Last publish

Collaborators

  • amedee