🚴 Usage
Started from tutorial - Tutorial
wasm-pack build
🛠️ Build with wasm-pack build
wasm-pack test
🔬 Test in Headless Browsers with wasm-pack test --headless --firefox
wasm-pack publish
🎁 Publish to NPM with 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.