# @rspack/binding

> Node binding for rspack

Latest version **2.2.6** (published 2026-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rspack/binding
pnpm add @rspack/binding
yarn add @rspack/binding
bun add @rspack/binding
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.2.6 |
| Published | 2026-09-17 |
| First published | 2022-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 120.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Maintainers | hardfist3, chenjiahan |

## Links

- npm: https://www.npmjs.com/package/@rspack/binding
- Repository: web-infra-dev/rspack
- Homepage: https://rspack.rs
- Issues: https://github.com/web-infra-dev/rspack/issues
- npm.io page: https://npm.io/package/@rspack/binding

## Recent versions

- 2.2.6 (latest) — 2026-09-17
- 2.2.0-rc.0 (rc) — 2026-08-21
- 2.2.0-beta.1 (canary) — 2026-08-18
- 2.1.0-beta.0 (beta) — 2026-06-18
- 1.7.12 (latest-v1) — 2026-06-17
- 2.0.0-alpha.1 (alpha) — 2026-01-27
- 0.7.6-canary-f272bd8-20240625122346 (nightly) — 2024-06-25
- 0.0.0-canary-2d5264852-20230525090643 (snapshot) — 2023-05-25
- 0.0.0-20220909030737 (snapshot,test) — 2022-09-09
- 2.2.5 — 2026-09-16
- 2.2.4 — 2026-09-14
- 2.2.3 — 2026-09-08
- 2.2.2 — 2026-09-01
- 2.2.1 — 2026-08-27
- 2.2.0 — 2026-08-26
- … 1222 more at https://npm.io/package/@rspack/binding/versions

## README

<picture>
  <img alt="Rspack Banner" src="https://assets.rspack.rs/rspack/rspack-banner.png">
</picture>

# @rspack/binding

Private node binding crate for rspack.

> Rspack's internal package, don't use it directly in your project, This package does _NOT_ follow [semantic versioning](https://semver.org/).

## Documentation

See [https://rspack.rs](https://rspack.rs) for details.

## Update Wasm binding

The generation of `rspack.wasi-browser.js` and `rspack.wasi.js` is disabled by default because `@napi/cli` produces unstable output for these files. To update the Wasm bindings, add `wasm32-wasip1-threads` to the `napi.targets` field in `package.json` before building the project.

## License

Rspack is [MIT licensed](https://github.com/web-infra-dev/rspack/blob/main/LICENSE).

---
_Source: https://npm.io/package/@rspack/binding · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
