mago-wasm

Crates.iomago-wasm
lib.rsmago-wasm
version1.0.0-beta.3
created_at2024-12-07 14:32:44.85536+00
updated_at2025-08-29 16:47:22.977411+00
descriptionExposes PHP code analysis and tooling functionalities as WebAssembly modules, enabling browser-based tools and editor integrations.
homepagehttps://mago.carthage.software
repositoryhttps://github.com/carthage-software/mago
max_upload_size
id1475643
size51,241
Saif Eddin Gmati (azjezz)

documentation

README

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.

Commit count: 902

cargo fmt