Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evanwashere/wasm

fast wasm modules
https://github.com/evanwashere/wasm

allocator deno ed25519 lol-html lz4 nacl opus opus-codec seahash simd snappy webassembly zlib

Last synced: about 2 months ago
JSON representation

fast wasm modules

Awesome Lists containing this project

README

        

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/`**](https://github.com/evanwashere/wasm/tree/master/examples)

targets:
- deno
- deno.js
- simd.js
- fetch.js
- node
- node.cjs
- node.mjs
- simd.mjs

```js
import * as mod from '@evan/wasm/target//';
import * as mod from 'https://unpkg.com/@evan/[email protected]/target//';

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

snappy.compress(new Uint8Array(100));
```

## License

MIT © [Evan](https://github.com/evanwashere)