Oxc (Oxidation Compiler) is a collection of high-performance JavaScript and TypeScript development tools written in Rust. It provides foundational components for building modern compilers, bundlers, and source code analysis applications. Its parser generates abstract syntax trees for processing JavaScript and TypeScript code efficiently. The transformer converts modern language features and JSX syntax into compatible JavaScript output. Its minifier optimizes production code to reduce application bundle sizes. The project includes Oxlint for identifying programming errors and Oxfmt for maintaining consistent code formatting. Its module resolver facilitates dependency resolution, while reusable components support integration with external development tools such as Rolldown.
Features
- High-performance JavaScript and TypeScript parsing with abstract syntax tree generation
- Source code transformation supporting TypeScript, JSX, and modern JavaScript syntax
- JavaScript minification and optimization for reducing production bundle sizes
- Integrated Oxlint linter for detecting programming errors and code quality issues
- Automated source code formatting through the Oxfmt formatting utility
- Reusable module resolution and compiler components for third-party development tools