
Oxc
Fast JavaScript and TypeScript tools (parser, linter, formatter, minifier) written in Rust.
- Stars
- 23.3k
- Forks
- 1.4k
- Licence
- MIT
- Language
- Rust
- Last update
- 4 days ago
- Type
- Dev tool
What it is
Oxc is a collection of tools for working with JavaScript and TypeScript code, written in Rust. It includes a linter (Oxlint), a formatter (Oxfmt), and building blocks such as a parser, transformer, minifier, and module resolver. The README says it is designed for speed and is used by build tools such as Rolldown, the bundler behind Vite.
- Lint a JavaScript or TypeScript codebase with Oxlint using npx oxlint@latest
- Format a codebase with Oxfmt using npx oxfmt@latest
- Parse JavaScript and TypeScript for use in your own tooling
- Minify JavaScript for production builds using the Minifier component
Great for
- Developers who want to lint a JavaScript or TypeScript project quickly
- Teams building their own JavaScript build tooling who need a parser or resolver
- Projects already using or considering Vite or Rolldown
Not ideal for
- People who need a fully documented, stable plugin ecosystem, since the README does not describe one
- Non-developers, since the tools run on code and require a command line
- Teams that need features the README does not mention, because the README is short on feature details
How to get it
- 1
Install with a package manager
Lint a codebase with Oxlint
npx oxlint@latestFormat a codebase with Oxfmt
npx oxfmt@latest - 2
Run it
- Open a terminal in your JavaScript or TypeScript project folder
- Run npx oxlint@latest to lint the code
- Run npx oxfmt@latest to format the code
- Check the Oxc documentation at oxc.rs for configuration options
- 3
Get the most out of it
- Read the linter usage guide at oxc.rs/docs/guide/usage/linter to tune rules
- Use the online Playground at playground.oxc.rs to test parsing and transforms before adding them to a project
- Check the Troubleshooting and Benchmarks pages on oxc.rs when you hit problems or want performance context
- Use the Resolver component if you need module resolution in your own tooling
Downloads
Strengths
- Written in Rust, and the README positions it around high performance
- Covers several steps of the JavaScript toolchain (lint, format, parse, transform, minify, resolve) under one project
- Released under the permissive MIT license
Trade-offs
- The README is truncated and gives few details on features, configuration, or compatibility
- Built on top of a fast-moving toolchain, so APIs and behavior may change between releases
- Benchmarks and performance claims are linked to external docs rather than shown in the README
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| oxc (this) | 23.3k | Dev tool | beginner | 4 days ago | Developers who want to lint a JavaScript or TypeScript project quickly |
| eslint | 27.6k | Dev tool | intermediate | 4 days ago | JavaScript developers who want automatic checks on their code |
| prettier | 52.4k | Dev tool | beginner | 4 days ago | Teams that want one shared code style without writing their own rules |
| esbuild | 40.1k | Dev tool | intermediate | 3 months ago | Developers who want fast builds for JavaScript, TypeScript, or CSS projects |
| webpack | 66k | Dev tool | intermediate | 4 days ago | Frontend developers building single-page or multi-page web apps |
| babel | 44.1k | Dev tool | intermediate | 4 days ago | Web developers who want to use recent JavaScript syntax while still supporting older browsers |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.