Oxc

Oxc

oxc-project.github.io

2

About this website

The JavaScript Oxidation Compiler is a collection of high-performance JavaScript and TypeScript tooling written entirely in Rust, developed by VoidZero Inc. under the leadership of Boshen Chen with sponsorship from Evan You. The project provides six core tools that serve as the foundation of modern JavaScript toolchains. Oxlint is an ESLint-compatible linter that runs 50 to 100 times faster than ESLint with over 800 rules, true type-aware linting powered by tsgo, and support for loading native ESLint JavaScript plugins. Oxfmt is a Prettier-compatible formatter that runs 30 times faster than Prettier and 3 times faster than Biome, with built-in Tailwind CSS class sorting. The parser achieves 3 times the speed of SWC and passes all Test262 stage-4 conformance tests, benchmarking at 26.3 milliseconds to parse typescript.js on Apple M3 Max compared to 84.1 milliseconds for SWC and 130.1 milliseconds for Biome. The transformer handles TypeScript and JSX transpilation with syntax lowering to ES2015, isolated declarations for declaration file emission, React Fast Refresh, and styled-components plugin support. The resolver implements Node.js-compatible CommonJS and ESM module resolution running 28 times faster than webpack enhanced-resolve, with behavior alignment verified through enhanced-resolve test suites. The minifier, currently in alpha, performs dead code elimination, syntax shortening, whitespace removal, and variable name mangling. A live playground enables interactive exploration of parse trees and transformation results in the browser. The project is free and open source under the MIT license with gold sponsors including Hive, and silver sponsors including Gusto, schoolhouse.world, and Zephyr Cloud.

Tags & Categories

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!