| Crates.io | rpgx-wasm |
| lib.rs | rpgx-wasm |
| version | 0.1.5 |
| created_at | 2025-06-17 13:48:35.458278+00 |
| updated_at | 2025-06-27 09:28:15.609021+00 |
| description | Wasm driver for the RPGX engine |
| homepage | https://github.com/LorenzoRottigni/rpgx |
| repository | https://github.com/LorenzoRottigni/rpgx |
| max_upload_size | |
| id | 1715775 |
| size | 43,961 |
This package provides WebAssembly (WASM) bindings for the RPGX game engine, enabling integration with web-based frontends such as Node.js and Vue.js.
wasm32-unknown-unknown targetwasm-bindgen-cliInstall the target and CLI:
rustup target add wasm32-unknown-unknown
cargo install --locked wasm-bindgen-cli
Build the WASM driver:
make build-wasm-driver
To generate the WASM driver and Node.js loader (used by both Node.js and Vue.js playgrounds):
make build-js-driver
Import the generated WASM module in your JavaScript/TypeScript frontend as per the wasm-bindgen documentation.
RPGX is licensed under the MIT License.