@evan/wasm

0.0.95 • Public • Published

all other wasm modules were slow or/and leaked memory, so I made my own :)

yarn add @evan/wasm

you can find examples in examples/

targets:

  • deno
    • deno.js
    • simd.js
    • fetch.js
  • node
    • node.cjs
    • node.mjs
    • simd.mjs
import * as mod from '@evan/wasm/target/<mod>/<target>';
import * as mod from 'https://unpkg.com/@evan/wasm@0.0.80/target/<mod>/<target>';

// example
import * as snappy from 'https://unpkg.com/@evan/wasm@0.0.80/target/snappy/deno.js';

snappy.compress(new Uint8Array(100));

License

MIT © Evan

Package Sidebar

Install

npm i @evan/wasm

Weekly Downloads

117

Version

0.0.95

License

MIT

Unpacked Size

4.73 MB

Total Files

92

Last publish

Collaborators

  • evan