wasm-bindgen/wasm-bindgen
Facilitating high-level interactions between Wasm modules and JavaScript observed · 2026-10-20
Health v2 · maintenance only
99/100
- Activity 100
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 9
- age_days: 3228
- days_rel: 25
- days_push: 1
- n_releases_24m: 32
Adoption not part of the score
9193 stars · 1257 forks observed · 2026-10-20
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
wasm-bindgen is a Rust library and CLI tool that generates high-level bindings between WebAssembly modules and JavaScript, allowing rich types like strings, objects, and classes to cross the JS/wasm boundary. It is a core part of the Rust and WebAssembly ecosystem, often used together with wasm-pack.
Use cases
- call Rust functions from JavaScript in the browser
- import JavaScript APIs like DOM or console into Rust
- generate TypeScript bindings for Rust wasm code
- pass strings and objects between wasm and JavaScript
- build web apps with Rust compiled to WebAssembly
- publish Rust wasm packages to npm
When to choose
- you are writing Rust that compiles to WebAssembly and needs JS interop
- you want rich type exchange (strings, closures, classes) between wasm and JS
- you want automatic TypeScript definitions for your Rust exports
When to avoid
- you compile to wasm from C/C++ or other non-Rust languages
- your wasm module has no JavaScript interaction
- you target server-side wasm runtimes without a JS host
Facets
library · maturity stable
wasm sdk serialization developer-tools web-development frontend programming-languages developer-tools wasm browser rust binding-generator rust-wasm javascript-interop typescript-bindings ecmascript-modules javascript web-server
3 sources
- readme: https://github.com/wasm-bindgen/wasm-bindgen · fetched 2026-10-20 · c9434ce69070
- homepage: https://wasm-bindgen.github.io/wasm-bindgen/ · fetched 2026-08-29 · 7fdff9c1ca82
- registry_crates: https://crates.io/api/v1/crates/wasm-bindgen · fetched 2026-08-29 · cf083411b73a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wasm-bindgen/wasm-bindgen | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="wasm-bindgen/wasm-bindgen")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem