This package is generated with wasm-pack
Follow the steps on https://rustwasm.github.io/wasm-pack/installer/
make build
wasm-pack test --headless --chrome
Make sure to use make build
to make sure scoped npm package name is correctly set.
wasm-pack publish
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.