npm.io
0.0.2 • Published 4 years ago

wasm-x11-hash

Licence
MIT
Version
0.0.2
Deps
0
Size
297 kB
Vulns
0
Weekly
0
Stars
7

wasm-x11-hash

NPM Version Build Status Release Date standard-readme compliant

WASM binding for X11 hashing algorithm written in C

Installation and usage

Buffer polyfill is required for usage in browsers

  • $ npm install wasm-x11-hash
const X11 = require('wasm-x11-hash');

X11().then(x11 => {
  const hash = x11.digest('hello world')
});

Build and test

Docker v20+ is required

  • $ npm run build
  • $ npm run test

Keywords