Initial release, there may be bugs. NodeJS only.
Usage
- Download the tarball and extract it into your
src/
directory. (You can also generate the tarball from source, and copy .js -> .cjs and .d.ts -> .d.cts if using ESM) - Import the code:
import {CryptoInterfaceImpl} from '../node-noise-wasm/noise_wasm.cjs'
(or.js
if you're using commonjs) - Pass it in to the constructor:
noise({crypto: new CryptoInterfaceImpl()})
- Profit?