Rust-based platform for the Web
SWC is an extensible Rust-based platform for the next generation of fast developer tools. It's used by tools like Next.js, Parcel, and Deno, as well as companies like Vercel, ByteDance, Tencent, Shopify, and more.
SWC is 20x faster than Babel on a single thread and 70x faster on four cores.
Get Started · Playground · Blog · Rustdocs (opens in a new tab) · GitHub Repository (opens in a new tab) · Donate (opens in a new tab)
SWC can be downloaded and used as a pre-built binary, or built from source. Currently, the following binaries are provided:
- Mac (Apple Silicon)
- Mac (x64)
- Linux (x86_64)
- Linux (aarch64)
- Linux (armv7)
- Alpine Linux (also install
- Android (aarch64)
- Windows (win32-x64)
- Windows (ia32)
Download prebuilt binaries
pnpm i -D @swc/cli @swc/core
npx swc ./file.js
SWC is designed to be extensible. Currently, there is support for:
- Bundling (
swcpack, under development)
- Transforming with WebAssembly
- Usage inside webpack (
- Improving Jest performance (
- Custom Plugins
SWC is created by kdy1dev (opens in a new tab). Follow @kdy1dev (opens in a new tab) on Twitter for future project updates.
Feel free to join the discussions on GitHub (opens in a new tab)!