Quickstart
- Install
rustusingrustup. - Install this tool.
- Run
wasm-pack new hello-wasm. cd hello-wasm- Run
wasm-pack build. - This tool generates files in a
pkgdir - To publish to npm, run
wasm-pack publish. You may need to login to the registry you want to publish to. You can login usingwasm-pack login.