Oxc: High-Performance JavaScript Tools Written in Rust
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Oxc is a high-performance collection of JavaScript and TypeScript tools built in Rust, designed to be a unified and ultra-fast toolchain. It powers projects like Rolldown, Vite's future bundler, and offers modular components for linting, formatting, parsing, transforming, and minifying code, emphasizing performance and correctness.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Oxc is a high-performance collection of JavaScript and TypeScript tools written in Rust, designed to be a unified and ultra-fast toolchain. As part of VoidZero's vision, Oxc powers critical projects like Rolldown, Vite's future bundler, enabling the next generation of development tools that work seamlessly together.
The project emphasizes several core design principles:
- Performance: Achieved through rigorous engineering.
- Correctness: Ensured by conformance testing to standards.
- Developer Experience: Provided through clear APIs, comprehensive documentation, and sensible configuration.
- Modular Composability: Allowing individual components to be used independently or composed into complete toolchains.
Oxc offers a suite of tools including a linter, formatter, parser, transformer, minifier, and resolver, all built for speed and reliability.
Installation
Oxc provides various tools available as npm packages for Node.js environments and individual crates for Rust projects.
Linter (oxlint)
npx oxlint@latest
Formatter (oxfmt)
npx oxfmt@latest
Parser (oxc-parser)
Install the fastest JavaScript/TypeScript parser for Node.js:
npm install oxc-parser
Transformer (oxc-transform)
For TypeScript, React, and modern JavaScript transformation:
npm install oxc-transform
Minifier (oxc-minify)
Integrate the high-performance JavaScript minifier:
npm install oxc-minify
Rust Crates
For building your own JavaScript tools in Rust, individual crates are available:
[dependencies]
oxc = "0.x"
Examples
Here are quick examples demonstrating the usage of Oxc's core tools.
Linter Example
Linting a project is as simple as running:
npx oxlint@latest
Oxlint can process thousands of files in under a second, as demonstrated in the vscode repository.
Parser Example (Node.js)
Parse JavaScript code and get the Abstract Syntax Tree (AST):
import { parseSync } from 'oxc-parser';
const result = parseSync('const x = 1;');
console.log(result);
Transformer Example (Node.js)
Transform TypeScript or React code:
import { transform } from 'oxc-transform';
const code = 'const Component = () => <div />;';
const result = transform('source.tsx', code, { typescript: true, react: true });
console.log(result.code);
Minifier Example (Node.js)
Minify JavaScript code with optional mangling:
import { minify } from 'oxc-minify';
const code = 'function longFunctionName() { console.log("hello"); }';
const result = minify(code, { mangle: true });
console.log(result.code); // Expected: function a(){console.log("hello")}
Why Use Oxc?
Oxc stands out due to its commitment to performance, correctness, and developer experience. Written in Rust, it leverages the language's speed and safety features to deliver unparalleled execution times for common JavaScript development tasks. Its modular design allows developers to pick and choose the tools they need, integrating them seamlessly into existing workflows or building entirely new toolchains.
Major projects and companies are already adopting Oxc, including:
- Rolldown (Vite's future bundler) for parsing, transformation, and minification.
- Nuxt for parsing.
- Preact, Shopify, ByteDance, and Shopee for linting with
oxlint. - Nova,
swc-node, andknipfor module resolution usingoxc_resolver.
By choosing Oxc, you're investing in a future-proof, high-performance toolchain that is actively developed and supported by a growing community and industry leaders.
Links
- GitHub Repository: oxc-project/oxc
- Official Website: oxc.rs
- Documentation: oxc.rs/docs
- Discord Community: Join Discord
- Playground: playground.oxc.rs
- Sponsor Oxc: Sponsor Boshen
Related repositories
Similar repositories that may be relevant next.

OpenLogi: A Native, Local-First Logitech Options+ Alternative in Rust
June 1, 2026
OpenLogi is a native, local-first alternative to Logitech Options+, built with Rust. It allows users to remap mouse buttons, control DPI, and manage SmartShift functionality over HID++ without requiring an account or collecting telemetry. This project prioritizes privacy and local control for Logitech mouse users.
RustTraining: Comprehensive Learning Paths for Rust Programmers
May 29, 2026
Microsoft's RustTraining repository offers a comprehensive collection of learning materials designed for Rust programmers of all levels. It provides seven structured training courses, covering topics from foundational concepts for various programming backgrounds to deep dives into async Rust, advanced patterns, and engineering practices. This resource aims to consolidate scattered knowledge into a cohesive and pedagogically sound learning experience.

OpenHuman: Your Private, Powerful AI Super Intelligence
May 27, 2026
OpenHuman is an open-source, agent-based personal AI assistant built with Rust, designed for privacy, simplicity, and power. It integrates seamlessly into your daily workflow, offering local knowledge management, extensive third-party integrations, and advanced memory capabilities. This project aims to provide a personal AI that truly understands and remembers your context from day one.

Tokio: An Asynchronous Runtime for Reliable Rust Applications
April 27, 2026
Tokio is a powerful asynchronous runtime for the Rust programming language, enabling developers to build fast, reliable, and scalable applications. It provides essential components like I/O, networking, scheduling, and timers, making it ideal for high-performance concurrent systems.
Source repository
Open the original repository on GitHub.