8 releases
new 0.0.7 | Dec 10, 2024 |
---|---|
0.0.6 | Dec 10, 2024 |
#630 in WebAssembly
524 downloads per month
1MB
23K
SLoC
Mago WASM
mago-wasm
is a WebAssembly (WASM) crate designed to provide high-level functionality for the Mago toolchain, specifically tailored for use in browser environments.
This crate is primarily intended for the Mago Playground and similar projects where running Mago directly in the browser is required.
If you are building applications outside of a browser context, you should use the dedicated Mago crates instead of this crate.
Building
To build the WASM module, run the following command:
wasm-pack build --target web
This will generate a pkg
directory containing the WASM module and associated JavaScript bindings.
Dependencies
~13–24MB
~326K SLoC