wasm-bindgen
« Back to VersTracker
Description:
Facilitating high-level interactions between Wasm modules and JavaScript
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: webassembly rust javascript wasm developer-tools
Install: brew install wasm-bindgen
About:
wasm-bindgen is a tool that facilitates high-level interactions between WebAssembly modules and JavaScript. It automatically generates the necessary JavaScript glue code and Rust bindings to allow you to use Rust functions and types in JavaScript as if they were native. This tool significantly simplifies the process of integrating WebAssembly into web applications.
Key Features:
  • Automatic JS glue code generation
  • Supports complex data structures and objects
  • Seamless integration with Rust's type system
  • CLI tool for easy build process integration
Use Cases:
  • Building high-performance web applications with Rust
  • Creating libraries that can be used from both Rust and JavaScript
  • Optimizing computationally intensive tasks for the web
Alternatives:
  • wasm-pack – wasm-pack is a higher-level tool that uses wasm-bindgen internally and provides a complete workflow for building and packaging Rust-generated WebAssembly.
  • Emscripten – Emscripten compiles C/C++ to WebAssembly, but wasm-bindgen is specifically designed for the Rust ecosystem and provides more idiomatic bindings.
Version History
Detected Version Rev Change Commit