aleppo-sdk
v0.1.3
Published
Install wasm-pack `cargo install wasm-pack`
Downloads
15
Readme
Install dependencies
Install wasm-pack
cargo install wasm-pack
Install dependencies
yarn
Build web wasm
yarn wasm
Run web
yarn build
yarn dev
Usage notice
If you get error: RuntimeError: Atomics.wait cannot be called in this context
please see Caveats
🔬 Test in Headless Browsers with wasm-pack test
wasm-pack test --headless --firefox
🎁 Publish to NPM with wasm-pack publish
wasm-pack publish
🔋 Batteries Included
wasm-bindgen
for communicating between WebAssembly and JavaScript.console_error_panic_hook
for logging panic messages to the developer console.wee_alloc
, an allocator optimized for small code size.