# Oxc parser: 7.8 out of 10

A strong pick. 2nd of 9 in [JavaScript parsers and codemods](https://elestia.ai/opensource/parsers/index.md).

Oxc parser is a Rust parser for JavaScript and TypeScript with a Node binding. It is very fast and returns an ESTree / TS-ESTree tree, and Rolldown, Vite 8 and the Angular CLI now depend on it. It is a strong pick for fast parsing and analysis. Its 0.x versions can still break, and to rewrite code you need extra tools such as magic-string or esrap.

**Best for:** Build tools, linters and analysis scripts that need to parse lots of JS/TS fast into an ESTree-shaped tree.

## Scores

- **Overall: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): It is the fastest well-maintained JS/TS parser, with a standard ESTree tree. The ecosystem is moving towards it, through Vite, Rolldown and Angular. For fast parsing and analysis it is a strong pick. For codemods that must keep formatting, Babel with Recast or ts-morph is still more complete, and the 0.x API can still change.
  - GPT-6.2 Sol (8.0): Oxc is a strong pick for new ESTree-based analysis tools that benefit from fast parsing or direct module metadata. Babel parser fits Babel-plugin workflows, and jscodeshift with Recast is a better starting point for codemods that preserve existing formatting. Active maintenance and major downstream integrations support the recommendation, while runtime-dependent speed and 0.x upgrade costs keep it short of a category-wide default.
- **Needed by many: 4.7** (likely 3.6 to 6.0)
  - Claude Opus 5.5 (4.5): Most app developers use a parser only indirectly, through bundlers and linters. People who choose one directly are mostly tool, plugin and codemod authors. Oxc parser covers JS, TS, JSX and TSX on Node, which spans the category's main need. On its own, though, it parses only and does not print code back.
  - GPT-6.2 Sol (4.8): Reading source trees matters to authors of build tools, linters, analyzers, and migrations. Oxc spans the main JavaScript and TypeScript dialects and serves multiple frameworks, although most application developers get this capability through their build stack. Its reach across the category is narrower because it supplies the parser and visitor, while rewriting requires another tool.
- **Helps a lot: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): It is very fast, passes all Test262 parser tests and 99% of the Babel and TypeScript tests, and its tree matches Acorn and TS-ESTree. Rewriting code needs a separate printer or magic-string, and comments are not printed in the esrap path yet. For codemods that must keep formatting, Babel with Recast or ts-morph does more.
  - GPT-6.2 Sol (8.0): Version 0.159.0 provides typed ESTree and TS-ESTree trees, a visitor, and direct module metadata. The docs give clear usage examples, including how to read diagnostics and enable scope-dependent error checks. In one independent Node benchmark, experimental raw transfer beat Babel on the full tree, while Oxc's default path was slower on all four fixtures. That spread and an open report of memory retention when creating many visitors leave uncertainty for long-running tools.
- **Holds up over time: 8.4** (likely 7.3 to 9.4)
  - Claude Opus 5.5 (8.5): The repository is extremely active: 9,113 commits, 134 releases and 500 contributors in the last year. VoidZero funds it, and Vite and Rolldown depend on it, so the ecosystem is moving towards it. Frequent 0.x releases with occasional breaking API changes keep it from the top.
  - GPT-6.2 Sol (8.3): The npm package published 58 versions in a year, and the latest changelog credits multiple contributors with parser fixes. Cloudflare backs the team, and the roadmap names owners for parser performance and raw transfer. The async API rename broke downstream code, and one npm account holds publish access. Repository-wide issue and pull request totals give limited insight into parser-specific response times.
- **Used widely: 6.2** (likely 4.8 to 7.5)
  - Claude Opus 5.5 (7.0): Downloads grew from 5.0M to 403M per 4 weeks, a ratio of about 80 against a median of 4.1. Most of that is transitive, through Rolldown and Vite 8. Direct choices are far fewer but growing, with the Angular CLI and Nuxt among them. The ecosyste.ms dependents count of 1 is clearly incomplete, so the range stays wide.
  - GPT-6.2 Sol (5.4): Four-week downloads rose from 5.0 million to 403.3 million, about 80 times year over year against the catalog median of 4.1 times. That is much faster than Babel parser or Acorn, and framework dependencies and CI amplify the increase. npm lists about 1,000 dependent packages, which points to a substantial undercount in ecosyste.ms. Direct project adoption remains hard to size because the repository's stars and 84 Bluesky posts cover all of Oxc.
- **Vouched for: 8.1** (likely 7.1 to 9.1)
  - Claude Opus 5.5 (8.0): Several major projects with a lot at stake run it in production: Rolldown, Vite 8, Nuxt and the Angular CLI. The best speed numbers come from Oxc's own benchmarks, while the independent benchmarks are older or carry caveats. It has no developer-survey data of its own.
  - GPT-6.2 Sol (8.2): Angular's linker and Nuxt's auto-import tooling provide independent evidence that the npm package works in real build pipelines. Rolldown and Vite also put the Rust parser core on a major build path. Independent benchmarks show where the package performs well, while the State of JavaScript survey provides ecosystem context through its Vite and Rolldown results. Parser-specific satisfaction and long-term retention remain unmeasured in those sources.
- **Safe: 8.2** (likely 7.1 to 9.2)
  - Claude Opus 5.5 (8.0): There are no OSV advisories and only one npm dependency. The licence is MIT. It ships native binaries per platform through napi-rs, which adds install surface. The bundle has no Scorecard data, so the release-process checks could not be verified.
  - GPT-6.2 Sol (8.4): The package is MIT-licensed and declares one regular npm dependency plus platform-specific bindings. OSV records zero package advisories, and the project documents trusted publishing, provenance, and private vulnerability reporting. The native binaries and single account with publish access warrant some caution, and the missing OpenSSF Scorecard limits independent verification of repository controls.

## Good

- Several times faster than SWC per its own benchmark, and in the fastest tier through Node bindings in a community benchmark, which matters for bundlers and large codebases.
- It returns an ESTree / TS-ESTree tree, so many tools written for Acorn or typescript-estree can consume it.
- Very active, funded development by VoidZero, with Rolldown and Vite 8 depending on it.
- Small JS dependency footprint and no known advisories.

## Bad

- It is still 0.x and ships often, and breaking changes such as the v0.98 API renames do happen.
- It has no built-in printer that keeps formatting the way Recast does, so codemods need magic-string or esrap. Comment printing in esrap was still pending.
- Semantic errors are off by default, and the docs have called the Node binding experimental.
- It ships native binaries per platform (with a WASI fallback), which is more install surface than a pure-JS parser.

## The numbers

- Downloads, 4 weeks: 403M
- In a year: ×80
- GitHub stars: 24k
- Commits, 12 months: 9.1k
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/oxc-project/oxc
- npm: https://www.npmjs.com/package/oxc-parser

The parser of Oxc. The repository holds all of Oxc, among them Oxlint and Oxfmt.

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 22 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.
