explaingit

oxc-project/oxc

📈 Trending21,199RustAudience · developerComplexity · 4/5ActiveLicenseSetup · easy

TLDR

High-performance JavaScript and TypeScript tools written in Rust, parser, linter, formatter, minifier, and bundler that run much faster than JavaScript equivalents.

Mindmap

mindmap
  root((oxc))
    What it does
      Parse JS and TS
      Transform code
      Minify bundles
      Lint and format
    Tech stack
      Rust
      JavaScript
      TypeScript
    Use cases
      Build faster toolchains
      Reduce bundle size
      Lint large codebases
      Ship production code
    Audience
      Frontend developers
      Build tool maintainers
      Performance-focused teams
    Key tools
      Oxlint linter
      Oxfmt formatter
      Rolldown bundler

Things people build with this

USE CASE 1

Replace slow JavaScript linters and formatters with faster Rust-based alternatives in your build pipeline.

USE CASE 2

Minify JavaScript bundles to reduce production file sizes and improve load times.

USE CASE 3

Parse and transform TypeScript and JSX code as part of a custom build tool or bundler.

USE CASE 4

Lint large codebases quickly without slowing down CI/CD pipelines.

Tech stack

RustJavaScriptTypeScriptJSX

Getting it running

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

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.

Copy-paste prompts

Prompt 1
How do I integrate Oxlint into my existing JavaScript project to replace ESLint?
Prompt 2
Show me how to use Oxc's parser to build a custom code transformation tool.
Prompt 3
What's the performance difference between Oxfmt and Prettier for formatting TypeScript?
Prompt 4
How can I use Rolldown (powered by Oxc) as my bundler instead of Webpack or Vite?
Prompt 5
Walk me through setting up Oxc's minifier to reduce my production bundle size.
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.