mago-wasm

Crates.iomago-wasm
lib.rsmago-wasm
version
sourcesrc
created_at2024-12-07 14:32:44.85536
updated_at2024-12-10 23:57:56.351012
descriptionExposes PHP code analysis and tooling functionalities as WebAssembly modules, enabling browser-based tools and editor integrations.
homepagehttps://github.com/carthage-software/mago
repositoryhttps://github.com/carthage-software/mago
max_upload_size
id1475643
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
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: 89

cargo fmt