22 unstable releases (3 breaking)
new 0.3.0 | Jan 20, 2025 |
---|---|
0.2.2 | Jan 18, 2025 |
0.1.1 | Jan 17, 2025 |
0.0.20 | Jan 16, 2025 |
0.0.18 | Dec 29, 2024 |
#447 in WebAssembly
1,189 downloads per month
1MB
24K
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
~6–15MB
~175K SLoC