# SWC: 7.0 out of 10

A strong pick. 4th of 10 in [Build tools](https://elestia.ai/opensource/build-tools/index.md).

SWC is a fast, mature Rust compiler and minifier for JavaScript and TypeScript. Next.js, Rspack, Deno and Parcel use it under the hood. It is not a bundler or dev server, so most new projects get it through one of those tools rather than picking it directly. On its own it is a solid choice for fast transpiling, but Oxc is now a strong rival for that job.

**Best for:** Teams that need a fast, Babel-like TypeScript/JSX transpiler or minifier, especially with decorators, inside Jest, Node, NestJS or a custom webpack/Rspack pipeline.

## Scores

- **Overall: 7.0** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (6.5): SWC is an excellent, well-backed compiler, but it is not a full build tool. Most readers should pick Vite, Rspack or their framework, which may already include SWC. As a standalone transpiler it is a strong pick for decorator-heavy TypeScript and webpack/Rspack pipelines, while Oxc is now a serious rival for plain transforms. The closed contribution model and the ecosystem's partial move to Oxc keep it below the top of the category.
  - GPT-6.2 Sol (7.5): SWC earns a strong recommendation for teams choosing a fast compiler or using a toolchain built around it. Vite is the stronger starting point for a new frontend app that needs a dev server and production bundling. SWC's release cadence and downstream adoption support the score, with uncertainty around native regressions and future outside contributions.
- **Needed by many: 5.5** (likely 4.5 to 7.1)
  - Claude Opus 5.5 (5.0): Almost every web project needs a compile step, but SWC covers only the compile part of the build-tool job and leaves out bundling and serving. Few developers choose it directly. Most get it through Next.js or Rspack. Those who pick it themselves are mostly transpiling TypeScript for Node, Jest or decorator-heavy backends.
  - GPT-6.2 Sol (6.0): JavaScript, JSX, and TypeScript compilation serves a large group of frontend teams across several frameworks. SWC mainly fills the compiler role, so teams that need bundling and a dev server usually select a higher-level tool. The range reflects how often teams need to choose their compiler separately.
- **Helps a lot: 7.4** (likely 6.4 to 8.4)
  - Claude Opus 5.5 (7.0): As a compiler and minifier it is fast, correct and complete. It ships new ECMAScript features such as Stage 3 decorators and import defer early, and it has types and good docs. It loses points because it cannot do the whole job of the category, its plugin system needs Rust, and Oxc claims to be faster for plain transforms. AI agents write correct .swcrc configs and loader setups for it without trouble.
  - GPT-6.2 Sol (7.8): SWC 1.16.22 has typed, documented APIs that give coding agents a clear starting point for standard transforms. A University of Tartu benchmark put it ahead of Babel and behind esbuild on one transpilation workload. Type checking is separate, and Lingui documents version constraints for Wasm plugins. Recent native binding crash reports add uncertainty for less common setups.
- **Holds up over time: 7.4** (likely 6.0 to 8.4)
  - Claude Opus 5.5 (7.0): Activity is high: 1,137 commits, 83 GitHub releases and 31 npm versions in the last year. Vercel funds the work, and Next.js and Rspack depend on SWC, so it is unlikely to be dropped. The risks are that it rests on a small core team, now more so because external pull requests are closed, and that Vite and Rolldown have moved to Oxc.
  - GPT-6.2 Sol (7.7): The repository logged 1,137 commits and npm published 31 versions in the past year. Vercel's Next.js team shares leadership of SWC, and the project receives recurring sponsorship. The recent restriction on outside pull requests and Vite's move to Oxc for its default React plugin make future contributor and ecosystem support harder to predict.
- **Used widely: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (7.0): It has 235M downloads in the last 4 weeks, up from 58M a year ago. That ratio of 4.0 is close to the median of 4.1, so SWC is holding ground rather than gaining it. Most downloads come from Next.js and Rspack installs, not from direct choices. Its 69k dependent repositories are well above Rspack and webpack in the bundle but far below esbuild, Vite and Babel.
  - GPT-6.2 Sol (6.0): The collector found about 69,000 dependent repositories and 7,500 npm packages, fewer than it found for Vite or esbuild. Four-week downloads grew from 58.4 million to 234.8 million, a 4.02× increase that sits just below the 4.1× catalog baseline. Automated and indirect installs make the number of new projects actively choosing SWC hard to estimate.
- **Vouched for: 8.3** (likely 7.2 to 9.2)
  - Claude Opus 5.5 (8.0): Major tools build on it: Next.js, Turbopack, Rspack, Deno and Parcel. Bloomberg engineers work on its standards support. Independent write-ups confirm its speed and maturity, and the 2024 State of JS survey gave it a positive rating. A current per-tool survey figure was not available, which keeps the range open.
  - GPT-6.2 Sol (8.5): Next.js uses SWC for production transforms and minification, Parcel builds its JavaScript compiler on it, and Rspack ships an integrated loader. State of JavaScript 2025 reports 83% satisfaction. These sources establish confidence in SWC as a compiler, with less direct evidence for standalone build pipelines.
- **Safe: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (8.0): No advisories have ever been recorded. It has two small JS dependencies plus prebuilt native binaries, and an Apache-2.0 licence. The OpenSSF Scorecard is 6.9, with weak checks for signed releases, SAST, code review and branch protection. Prebuilt native binaries and a small release team are the main supply-chain exposure.
  - GPT-6.2 Sol (7.5): The package uses Apache-2.0, lists two regular npm dependencies, and had no direct OSV advisories in the snapshot. GitHub Actions handles release publishing, and version 1.16.22 updated Wasmtime and zstd in response to advisories. Scorecard gives full marks for fuzzing and the security policy, with low marks for code review, branch protection, and release signing. The number of people who can authorize a release remains unclear.

## Good

- Transpiles TypeScript and JSX tens of times faster than Babel, and it is mature enough that Next.js and Rspack rely on it.
- Supports both legacy and TC39 Stage 3 decorators, which esbuild handles only partly. This matters for NestJS and TypeORM code.
- Very active: 83 releases and over 1,100 commits in the last year, with Vercel funding the main maintainer's work.
- No known advisories, only two small JS dependencies, and an Apache-2.0 licence.

## Bad

- It does not bundle or serve code. You need Vite, webpack, Rspack or a framework around it for a full build.
- Plugins must be written in Rust and compiled to Wasm. The plugin ecosystem is much smaller than Babel's, and plugins have been tied to specific core versions.
- Oxc is now the transformer in Vite 8 and Rolldown, so part of the ecosystem is moving away from SWC.
- Since October 2026 it accepts pull requests only from an allowlist of contributors, which puts the work on a small core team.

## The numbers

- Downloads, 4 weeks: 235M
- In a year: ×4.0
- GitHub stars: 34k
- Commits, 12 months: 1.1k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/swc-project/swc
- npm: https://www.npmjs.com/package/@swc/core

Next.js and other tools install SWC, so most downloads are not a direct choice.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
