
Oxc
High-performance JS/TS toolchain written in Rust
Replaces —

Who it's for
Teams running ESLint on large codebases can run `npx oxlint@latest` to get significantly faster lint checks across their JavaScript and TypeScript files.
Team depends on ESLint plugins with no oxlint equivalent
Developers building bundlers, compilers, or analysis tools can use Oxc's Rust crates for parsing, transformation, and module resolution instead of writing or integrating those components themselves.
Project is JavaScript-only and cannot use Rust crates
Because Oxc powers Rolldown, teams already using Vite's next-generation bundler are already benefiting from Oxc's parser, transformer, and minifier under the hood.
Projects using knip for dead-code detection already rely on `oxc_resolver` for module resolution. Monorepos can adopt Oxc components incrementally alongside existing tooling.
The problem
JavaScript toolchains are fragmented across many independently maintained tools, each with their own parsing and transformation logic, leading to inconsistencies, slow performance, and integration friction. Developers need a unified, high-performance foundation they can rely on for linting, formatting, parsing, and bundling without sacrificing speed or compatibility.
How it works
Oxlint is a drop-in linter for JavaScript and TypeScript codebases, runnable with `npx oxlint@latest`. It is used in production by Shopify, Preact, ByteDance, and Shopee.
Oxfmt provides code formatting for JavaScript and TypeScript projects, runnable with `npx oxfmt@latest` without any configuration required to get started.
The Oxc parser produces an AST for JavaScript and TypeScript files. Rolldown and Nuxt both rely on the Oxc parser as part of their build pipelines.
The transformer handles TypeScript stripping, JSX compilation, and modern JavaScript syntax lowering, covering the transformation needs of contemporary frontend projects.
The Oxc minifier compresses JavaScript output for production. Rolldown uses it alongside the parser and transformer as part of Vite's bundling pipeline.
`oxc_resolver` implements Node.js and TypeScript module resolution. It is used by Nova, swc-node, and knip as a standalone resolution library.
Features
- Oxlint: fast JavaScript linter
- Oxfmt: code formatter
- Parser for JS and TypeScript
- Transformer for modern syntax
- Minifier for production builds
- Module resolver
How to install
npx oxlint@latest
Recommended for this setup
Strengths
- Written in Rust for performance: All Oxc components are implemented in Rust, targeting the performance bottlenecks that affect JavaScript-based tooling at scale. Benchmarks are published at oxc.rs/docs/guide/benchmarks.
- Production adoption across major projects: Oxc is not experimental — Rolldown, Nuxt, Shopify, ByteDance, Preact, and Shopee rely on its components in production, providing real-world validation of correctness and reliability.
- Unified toolchain foundation: The components share a common parser and AST, meaning the linter, transformer, minifier, and resolver work from the same representation rather than maintaining separate parse trees.
- Usable as npm packages or Rust crates: Tools like oxlint and oxfmt are published to npm for zero-config use via npx. The underlying Rust crates are also published to crates.io for teams building their own tooling on top.
Trade-offs
- Formatter and minifier are still maturing: Oxfmt and the minifier are newer components compared to the parser and linter. Teams with strict formatting requirements should verify coverage against their codebase before adopting.
- Linter rule coverage differs from ESLint: Oxlint does not yet implement the full ESLint rule catalog. Projects with large custom rule sets or plugins dependent on the ESLint plugin API will face a migration gap.
- Primarily a toolchain primitive, not an end-user bundler: Oxc is designed as a foundation for build tools like Rolldown rather than a standalone bundler for application developers. Teams looking for a complete bundling solution should look at Rolldown or Vite directly.
Tech stack
FAQ
Run `npx oxlint@latest` in your project directory. It will lint your JavaScript and TypeScript files using the default rule set.
Oxlint can replace ESLint for teams that do not rely on ESLint plugins, but it does not yet implement the full ESLint rule catalog or the plugin API. The two can also run side by side during a migration.
Oxc powers Rolldown, which is Vite's bundler. Rolldown uses Oxc for parsing, transformation, and minification, so Vite users benefit from Oxc's performance indirectly.
Oxlint and Oxfmt are published as npm packages and work via npx with no Rust toolchain required. The underlying crates are also available on crates.io for Rust projects.
Oxc is licensed under the MIT License. Third-party code ported or copied into the project has its own licenses listed in the THIRD-PARTY-LICENSE file in the repository.