Oxc parser
A strong pick. 2nd of 9 JavaScript parsers and codemods.
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
Overall7.8
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- npm downloadsLast4Weeks: Grew about 80x in a year, against a median of 4.1x.
- oxc.rs/docs/guide/usage/parser.html: Features and the gap in printing.
- dev.to/lacolaco/adoption-of-oxc-parser-in-angular-v221-498g: Adopted by a major framework.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.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.
- shoppercove.com/blog/oxc-parser-vs-babel-parser: Shows where module-only reads and full-tree materialization perform differently.
- babeljs.io/docs/babel-parser: Documents the parser API and syntax plugins used in the Babel stack.
- github.com/meta/jscodeshift: Provides a codemod runner and Recast integration for formatting-preserving edits.
- github.com/angular/angular-cli/releases/tag/v22.2.0: Confirms downstream use in Angular's build pipeline.
- raw.githubusercontent.com/oxc-project/oxc/crates_v0.159.0/napi/parser/CHANGELOG.md: Records active fixes and previous breaking changes.
Needed by many4.7
How many developers need a tool for this job?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
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.
- oxc.rs/docs/guide/usage/parser.html: Parses JS, TS, JSX and TSX, and returns ESM info.
- category scope: Direct parser users are mostly tool authors.
GPT-6.2 Sol: 4.8, likely 3.7 to 5.9
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.
- raw.githubusercontent.com/oxc-project/oxc/crates_v0.159.0/napi/parser/README.md: Documents supported dialects, WebAssembly, and AST traversal.
- vite.dev/blog/announcing-vite8: Shows how application teams get Oxc parsing through their build stack.
- oxc.rs/docs/guide/usage/parser.html: The rewrite example uses a separate printer.
Helps a lot7.8
How well does it do the job for those who need it?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- oxc.rs/docs/guide/usage/parser.html: Test262 pass rate, speed claim, esrap printing without comments.
- github.com/oxc-project/bench-javascript-parser-written-in-rust: Own benchmark: about 3x faster than SWC.
- github.com/oxc-project/bench-javascript-parser: Community Node-binding benchmark puts Oxc in the top tier, with caveats about raw transfer.
- socket.dev/npm/package/oxc-parser/overview/0.143.0: ESTree / TS-ESTree conformance, only small known differences.
GPT-6.2 Sol: 8.0, likely 6.9 to 9.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.
- raw.githubusercontent.com/oxc-project/oxc/crates_v0.159.0/napi/parser/README.md: Documents types, traversal, diagnostics, and the default error-checking behavior.
- shoppercove.com/blog/oxc-parser-vs-babel-parser: Measures full-tree and module-only performance on four fixtures.
- github.com/yuku-toolchain/ecmascript-parser-benchmark-js: A competing parser's benchmark also finds that transfer costs depend on the workload.
- raw.githubusercontent.com/oxc-project/oxc/crates_v0.159.0/napi/parser/src-js/index.js: Confirms that raw transfer is still opt-in in 0.159.0.
- github.com/oxc-project/oxc/issues/25510: Open downstream report of callback retention when constructing visitors repeatedly.
Holds up over time8.4
Will it still be a good choice in two years?
Claude Opus 5.5: 8.5, likely 7.5 to 9.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.
- github commitsLastYear: 9,113 commits in the last year.
- npm versionsLastYear: 58 versions in a year, latest 0.159.0.
- bsky.app/profile/voidzero.dev/post/3m5vm3fb5oc2j: Breaking rename of the exported functions in v0.98.
- voidzero.dev/posts/whats-new-nov-2025: VoidZero leads Oxc, and Rolldown parses with it.
GPT-6.2 Sol: 8.3, likely 7.1 to 9.2
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.
- npm versionsLastYear and latestPublishedAt: 58 package versions in a year, with the latest published November 16, 2026.
- raw.githubusercontent.com/oxc-project/oxc/crates_v0.159.0/napi/parser/CHANGELOG.md: Recent fixes from several contributors and a documented breaking API rename.
- blog.cloudflare.com/voidzero-joins-cloudflare: Cloudflare commits engineering resources to Oxc and the team behind it.
- github.com/oxc-project/oxc/issues/28275: Names maintainers for the lexer rollout and raw transfer stabilization.
- github.com/angular-architects/module-federation-plugin/issues/1094: Downstream maintainers report having to update the async import.
- oxc.rs/docs/contribute/security.html: Lists one account with npm publish access.
Used widely6.2
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- npm downloadsLast4Weeks: 403M, against 5.0M a year ago.
- dependents: 1 repo and 1 package, far too low to be complete.
- bluesky posts: 84 posts, more than any peer, but they cover all of Oxc.
- vite.dev/blog/announcing-vite8: Vite 8 ships with Rolldown and Oxc.
GPT-6.2 Sol: 5.4, likely 3.6 to 7.0
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.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, and medianDownloadsRatio: About 80 times year-over-year download growth against a 4.1 times baseline.
- peers Babel parser and Acorn: Install counts grew by about 3.8 times and 2.7 times, respectively.
- dependents: ecosyste.ms found one repository and one package.
- npmjs.com/package/oxc-parser?activeTab=dependents: The indexed npm listing shows about 1,000 dependent packages.
- github.com/unjs/unimport/blob/main/package.json: Nuxt's auto-import tooling declares the parser, creating an indirect install path.
- project.note, github.stars, and bluesky: Repository stars and social activity include Oxlint, Oxfmt, and other Oxc tools.
Vouched for8.1
Who stands behind it being good?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- dev.to/lacolaco/adoption-of-oxc-parser-in-angular-v221-498g: Angular CLI moved part of its build from Babel to oxc-parser.
- vite.dev/guide/migration.html: Vite 8 uses Rolldown and Oxc-based tools.
- dev.to/herrington_darkholme/benchmark-typescript-parsers-demystify-rust-tooling-performance-2go8: Independent TS parser benchmark that includes Oxc.
GPT-6.2 Sol: 8.2, likely 7.1 to 9.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.
- github.com/angular/angular-cli/releases/tag/v22.2.0: Angular's stable release moved its linker to oxc-parser and MagicString.
- github.com/rolldown/rolldown/issues/10102: A user documents the standalone package running in a large Nuxt production build pipeline.
- vite.dev/blog/announcing-vite8: Vite documents Oxc's role in parsing through its Rolldown toolchain.
- shoppercove.com/blog/oxc-parser-vs-babel-parser: Independent hands-on measurements cover speed, AST shape, and error handling.
- 2025.stateofjs.com/en-US/awards: Reports Vite satisfaction and Rolldown interest at the tool level.
Safe8.2
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- advisories total: 0 advisories.
- npm dependencies: 1 dependency.
- scorecard: No Scorecard data.
- npm license: MIT.
GPT-6.2 Sol: 8.4, likely 7.2 to 9.3
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.
- advisories and scorecard: Zero recorded OSV advisories and no available Scorecard in the bundle.
- raw.githubusercontent.com/oxc-project/oxc/crates_v0.159.0/napi/parser/package.json: MIT licence, a small regular dependency list, and platform-specific build targets.
- oxc.rs/docs/contribute/security.html: Documents trusted publishing with provenance, pinned actions, and one publishing account.
- github.com/oxc-project/oxc/security/policy: Provides a private vulnerability reporting route.
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
- npm downloads, 4 weeks
- 403M ×80 in a year
- GitHub stars
- 24k
- Commits, 12 months
- 9.1k
- npm version
- 0.159.0 Nov 2026
- Versions, 12 months
- 58
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The parser of Oxc. The repository holds all of Oxc, among them Oxlint and Oxfmt.
Read on 21 November 2026 from GitHub (oxc-project/oxc), npm (oxc-parser), OSV and the OpenSSF Scorecard.
JavaScript parsers and codemods
- 8.0Babel parser
- 7.8Oxc parser
- 7.5ast-grep
- 7.1Acorn
- 7.1Recast
- 7.0ts-morph
- 6.4jscodeshift
- 6.3Meriyah
- 2.4Esprima