#higher-level #api #reference #value #revolving #builder-style

no-std wiwi-wasm

Nicer, higher level APIs for working with JavaScript from Rust (WASM), mostly revolving around builder-style APIs

2 unstable releases

Uses new Rust 2024

0.11.0-pre.3 Mar 6, 2025
0.1.0 Jan 31, 2025

#324 in WebAssembly

Download history 115/week @ 2025-01-29 11/week @ 2025-02-05 8/week @ 2025-02-12 121/week @ 2025-03-05 10/week @ 2025-03-12

131 downloads per month

MIT license

36KB
1K SLoC

wiwi-wasm

Nicer, higher level APIs for working with JavaScript from Rust (WASM), mostly revolving around builder-style APIs

MSRV

Rust 1.85, which is, at the time of writing, only available on the beta/nightly release channels.

API design

If there are any discrepancies between this documentation and the actual API, please file an issue letting us know the name of the item that deviates!

The "base" type of the entire crate is ExternAny, representing a reference to any extern (stored in JS) value. The more "primitive" operations, such as typeof, are implemented on this type.

Global objects are accessible via top level functions (ex. Reflect is available via reflect()).

Dependencies

~0.6–1.3MB
~26K SLoC