Awesome Open Source
Awesome Open Source

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/[email protected]/target/<mod>/<target>';

// example
import * as snappy from 'https://unpkg.com/@evan/[email protected]/target/snappy/deno.js';

snappy.compress(new Uint8Array(100));

License

MIT © Evan


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,555,917
Webassembly (2,160
Deno (1,465
Simd (392
Ed25519 (169
Zlib (147
Opus (137
Related Projects