talira

Compare

wasm-bindgennapi-rs
What it isGenerates the glue between Rust WebAssembly modules and JavaScriptA framework for building compiled Node.js add-ons in Rust via Node-API
KindOpen sourceOpen source
Trust0.710.75
Stars92358055
Last commit2026-11-272026-11-24
LicenceMIT OR Apache-2.0MIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
Companywasm-bindgenNAPI-RS
Features
  • Import JavaScript functions and export Rust functions and types with #[wasm_bindgen]
  • Generates JavaScript glue and an ES module, only for the bindings you use
  • Typed bindings to JavaScript built-ins (js-sys) and Web APIs (web-sys)
  • Rust futures and JavaScript promises interoperate (wasm-bindgen-futures)
  • Tests in headless browsers and Node.js (wasm-bindgen-test)
  • #[napi] macros generate JavaScript bindings and TypeScript definitions
  • napi build: zero-config build of the add-on
  • Cross-compilation for many platforms
  • CI templates and per-platform npm packages
  • WebAssembly target from the same code
  • Lifetime-managed, safer API design
Limitations
  • The CLI needs a newer Rust (1.86) than the libraries (1.81), and the minimum can change in patch releases