Skip to content

Alpha release

Latest
Compare
Choose a tag to compare
@MarcoPolo MarcoPolo released this 04 Apr 15:39
· 1 commit to main since this release
6fed8da

Initial release, there may be bugs. NodeJS only.

Usage

  1. 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)
  2. Import the code: import {CryptoInterfaceImpl} from '../node-noise-wasm/noise_wasm.cjs' (or .js if you're using commonjs)
  3. Pass it in to the constructor: noise({crypto: new CryptoInterfaceImpl()})
  4. Profit?