4 releases (breaking)

0.5.0 Nov 2, 2023
0.4.0 Oct 21, 2023
0.3.0 Oct 5, 2023
0.1.0 Oct 1, 2023

#1281 in WebAssembly

MPL-2.0 license

73KB
1.5K SLoC

wander-wasm

This project exposes functionality from the Rust implementation of Wander to WASM and JS runtimes thanks to wasm-bindgen and wasm-pack. It can be used by people with no knowledge or interest in Rust or WASM since it is published to NPM and has a purely JavaScript or TypeScript interface available.

Using

TODO

Developing

If you are interested in building this project, see https://rustwasm.github.io/ for information on setting up a development environment.

Common Commands for Developers

wasm-pack build
wasm-pack build --target web
wasm-pack test --headless --firefox

Publishing

To publish run wasm-pack build and then run (assuming you have https://deno.land installed):

deno run --allow-all ./merge_template.ts

This will update the package.json. From there just publish to npm as normal and update the template accordingly.


lib.rs:

This project exposes functionality from the Rust implementation of Wander to WASM and JS runtimes thanks to wasm-bindgen and wasm-pack.

Dependencies

~8MB
~109K SLoC