Oxc bundles a parser, linter, formatter, transformer, resolver, and minifier for JavaScript and TypeScript. Oxlint and Oxfmt run via npx for everyday lint and format tasks.
Overview
Oxc, the Oxidation Compiler, is a Rust implementation of core JavaScript tooling intended for speed and shared internals across tasks. It underpins Rolldown and is positioned as part of a coordinated high-performance JavaScript toolchain.
Oxlint provides ESLint-compatible linting with a large rule set and optional type-aware checks. Oxfmt offers Prettier-compatible formatting, including Tailwind class sorting support. The parser handles JavaScript and TypeScript syntax used by the other components.
The transformer lowers TypeScript, JSX, and modern syntax, can emit isolated declaration files, and supports integrations such as React Fast Refresh. The resolver aligns with Node-style module resolution behavior, and the minifier performs dead-code elimination, syntax shortening, and name mangling.
Teams adopt individual pieces through published packages and command-line entry points, while larger tools embed the same primitives for parsing, resolution, transformation, and minification in their own pipelines.
Key features
- Oxlint ESLint-compatible linter
- Oxfmt Prettier-compatible formatter
- JavaScript and TypeScript parser
- TypeScript and JSX transformer
- Node-style module resolver
- Production JavaScript minifier
- npx CLI for lint and format
Use cases
- Fast linting in CI and local development
- Consistent formatting across a monorepo
- Parsing and transforming TS in bundlers
- Embedding resolver logic in analysis tools