Crates.io | wander-wasm |
lib.rs | wander-wasm |
version | 0.5.0 |
source | src |
created_at | 2023-10-01 00:21:10.474487 |
updated_at | 2023-11-02 23:36:28.424782 |
description | Wasm support for Wander. |
homepage | |
repository | https://github.com/almibe/wander |
max_upload_size | |
id | 988936 |
size | 22,898 |
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.
TODO
If you are interested in building this project, see https://rustwasm.github.io/ for information on setting up a development environment.
wasm-pack build
wasm-pack build --target web
wasm-pack test --headless --firefox
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.