Thanks to visit codestin.com
Credit goes to lib.rs

#javascript #api #rust-wasm #builder-style #revolving

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

#1211 in WebAssembly

Codestin Search App

91 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.5–1.1MB
~22K SLoC