Oxc: High-Performance JavaScript Tools Written in Rust

This repository profile is provided by osrepos.com, an open source repository discovery platform.

Oxc: High-Performance JavaScript Tools Written in Rust

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

Analyzed by OSRepos on October 28, 2025

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, and knip for module resolution using oxc_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

Related repositories

Similar repositories that may be relevant next.

Start-Technologies: Monorepo for StartOS and Self-Hosting Solutions

Start-Technologies: Monorepo for StartOS and Self-Hosting Solutions

August 13, 2026

Start-Technologies is the comprehensive monorepo by Start9Labs, featuring StartOS as its flagship product. This open-source Linux distribution enables users to run personal servers, facilitating the self-hosting of various services for enhanced data ownership and privacy. It integrates a robust Rust backend, an Angular frontend, and a unique diff-based database for reactive state synchronization.

open-sourceself-hostingpersonal-server
Cortex-Mem: A Production-Ready Memory Framework for Autonomous AI Systems

Cortex-Mem: A Production-Ready Memory Framework for Autonomous AI Systems

August 12, 2026

Cortex-Mem is a production-ready, AI-native memory framework built in Rust, providing intelligent long-term memory for autonomous systems. It features a hierarchical three-tier memory architecture for efficient information management, from extraction and search to automated optimization. This framework empowers AI agents to remember, learn, and personalize interactions across sessions, transforming stateless AI into context-aware partners.

RustAImemory-management
CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents

CubeSandbox: Instant, Concurrent, and Secure Sandbox for AI Agents

August 9, 2026

CubeSandbox, developed by TencentCloud, is a high-performance, secure sandbox service built on RustVMM and KVM, designed specifically for AI agents. It offers ultra-fast startup times, hardware-level isolation, and high-density deployment, making it ideal for scalable and secure agent execution environments. The service is also fully compatible with the E2B SDK for seamless integration.

agentscontainersandbox
StringWars: Benchmarking High-Performance String Processing in Rust and Python

StringWars: Benchmarking High-Performance String Processing in Rust and Python

July 21, 2026

StringWars is a comprehensive GitHub repository dedicated to benchmarking performance-oriented string processing libraries in Rust and Python. It meticulously compares various operations, including substring search, hashing, and edit distances, across both CPUs and GPUs. This project serves as an invaluable resource for developers seeking to identify the fastest and most efficient solutions for critical string manipulation tasks, particularly those leveraging modern SIMD instructions and GPU acceleration.

benchmarkstring-processingRust

Source repository

Open the original repository on GitHub.

6 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️