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

#1104 in WebAssembly

Download history 2/week @ 2024-02-23 2/week @ 2024-03-01 1/week @ 2024-03-08 3/week @ 2024-03-15 15/week @ 2024-03-29 1/week @ 2024-04-05 38/week @ 2024-04-19

54 downloads per month

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

~8.5MB
~112K SLoC