Integrations
The tools crossbind works with, from the bundler in your project to the registry your native code comes from.
Bundlers
- ViteSaving a native file rebuilds the wasm and reloads the page
- WebpackThe plugin and its loader, in an ES module config
- RspackThe Webpack plugin and its loader, through Rspack's webpack-compatible API
- RollupThe core the Vite plugin wraps, for a plain Rollup build
- MetroTurns header,
.iand.rsimports into modules while Metro bundles - No bundlerThe CLI builds a loader and its wasm for a classic script tag
Mobile and desktop
Runtimes
- Node.jsWebAssembly, or a Node-API addon for native memory and system access
- Cloudflare WorkersThe Worker imports the loader and its wasm, and Wrangler bundles both
- wasmtimeRuns C and C++ built as a WASI command, and serves a WASI HTTP component
- SpinServes the same WASI HTTP component with
spin up - wasmCloudServes the same WASI HTTP component with
wash dev
Package registries
Coding agents
A bundler with no plugin here can still drive the build: Another bundler lists the functions a plugin calls. For anything else, ask in Discussions.