crossbind
GitHub

Integrations

The tools crossbind works with, from the bundler in your project to the registry your native code comes from. Each card names the crossbind packages it takes and opens its setup. To start from nothing instead, Examples has every create-crossbind template.

Bundlers

A plugin turns the headers and .rs files you import into JavaScript modules. It works at the bundler level, beside your framework's own plugin, so the framework needs no crossbind package of its own. Without a bundler, the CLI builds a plain script instead.

Mobile and desktop

React Native and Expo apps call your C++ as native code over JSI; Electron loads it as a Node-API addon in its main process.

Runtimes

Servers, edge isolates and WASI hosts load what the CLI builds for them, with no bundler plugin in between.

Package registries

Where your native dependencies come from. A crossbind port arrives prebuilt from npm; crates and Conan packages build from source with your project.

Coding agents

One portable skill, installed with the Skills CLI. No background server and no client-specific plugin.

Another tool

A bundler with no plugin here can still drive the build: the plugins only call functions crossbind exports, and @crossbind/plugin-rollup is the smallest one to copy. Another bundler lists those functions. For anything else, ask in Discussions.

Type to search every guide page and section.
↑↓ navigate↵ openesc close