gitmyhub

oxc

Rust ★ 22k updated 31m ago

⚓ A collection of high-performance JavaScript tools.

Oxc is a collection of super-fast JavaScript and TypeScript developer tools written in Rust, covering parsing, linting, formatting, and more, designed to be dramatically faster than the JS-based tools most projects use today.

RustJavaScriptTypeScriptsetup: easycomplexity 3/5

Oxc (The Oxidation Compiler) is a collection of high-performance JavaScript and TypeScript tools written in Rust. It aims to be significantly faster than equivalent JavaScript-based tools by leveraging Rust's performance characteristics. The toolset covers the main operations needed to build and ship JavaScript code: parsing, transformation (handling TypeScript, JSX, and modern JavaScript syntax), minification for smaller production bundles, module resolution, linting, and formatting.

Oxc is part of the VoidZero project's vision for a unified JavaScript toolchain. It powers Rolldown, which is Vite's bundler, and is used in production by companies and projects including Nuxt, Preact, Shopify, ByteDance, and Shopee. The linter is called Oxlint and the formatter is called Oxfmt, both runnable without installation via npx. The project is open-source under the MIT license.

Where it fits