Package Exports
- wasm-x11-hash
- wasm-x11-hash/lib/x11.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wasm-x11-hash) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
wasm-x11-hash
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