Oxc is a collection of high-performance JavaScript and TypeScript tools written in Rust.
The project addresses the need for faster tooling in JavaScript development by providing a unified set of compiler-grade components. It includes a parser for JavaScript and TypeScript, a transformer for handling TypeScript, JSX, and modern JavaScript syntax, a minifier for production builds, and a module resolver. These tools are designed to work together seamlessly and can be used both as standalone utilities and as building blocks for other tools. The Rust implementation prioritizes performance across all components.
Developers should choose Oxc if they need high-performance parsing, transformation, or minification for JavaScript projects, or if they are building tools that require these capabilities. The project is particularly suited for bundlers, linters, and development tools where performance is critical. Oxc powers Rolldown, which serves as Vite's bundler, and is used by projects including Nuxt, Preact, and Shopify. The project also provides Oxlint for linting and Oxfmt for formatting, available as command-line tools. The resolver component is used independently by tools like Nova and knip for module resolution.
The project maintains active engagement with its community through Discord and accepts contributions via good first issues. The team provides comprehensive documentation including troubleshooting guides, benchmarks, and a contributing guide on the project website. Development is supported by multiple sponsors and uses community-powered CI/CD infrastructure.