Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/evanwashere/wasm
- Owner: evanwashere
- License: mit
- Created: 2020-09-08T14:37:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-09T14:03:13.000Z (over 2 years ago)
- Last Synced: 2024-03-24T19:02:00.925Z (9 months ago)
- Topics: allocator, deno, ed25519, lol-html, lz4, nacl, opus, opus-codec, seahash, simd, snappy, webassembly, zlib
- Language: JavaScript
- Homepage:
- Size: 36.2 MB
- Stars: 44
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)