oxc_allocator

⚓ A collection of JavaScript tools written in Rust.

Latest version: 0.95.0 registry icon
Maintenance score
100
Safety score
100
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.95.0 0 0 0 0 0
0.94.0 0 0 0 0 0
0.93.0 0 0 0 0 0
0.92.0 0 0 0 0 0
0.91.0 0 0 0 0 0
0.90.0 0 0 0 0 0
0.89.0 0 0 0 0 0
0.88.0 0 0 0 0 0
0.87.0 0 0 0 0 0
0.86.0 0 0 0 0 0
0.85.0 0 0 0 0 0
0.84.0 0 0 0 0 0
0.83.0 0 0 0 0 0
0.82.3 0 0 0 0 0
0.82.2 0 0 0 0 0
0.82.1 0 0 0 0 0
0.82.0 0 0 0 0 0
0.81.0 0 0 0 0 0
0.80.0 0 0 0 0 0
0.79.1 0 0 0 0 0
0.79.0 0 0 0 0 0
0.78.0 0 0 0 0 0
0.77.3 0 0 0 0 0
0.77.2 0 0 0 0 0
0.77.1 0 0 0 0 0
0.77.0 0 0 0 0 0
0.76.0 0 0 0 0 0
0.75.1 0 0 0 0 0
0.75.0 0 0 0 0 0
0.74.0 0 0 0 0 0
0.73.2 0 0 0 0 0
0.73.1 0 0 0 0 0
0.73.0 0 0 0 0 0
0.72.3 0 0 0 0 0
0.72.2 0 0 0 0 0
0.72.1 0 0 0 0 0
0.72.0 0 0 0 0 0
0.71.0 0 0 0 0 0
0.70.0 0 0 0 0 0
0.69.0 0 0 0 0 0
0.68.1 0 0 0 0 0
0.68.0 0 0 0 0 0
0.67.0 0 0 0 0 0
0.66.0 0 0 0 0 0
0.65.0 0 0 0 0 0
0.64.0 0 0 0 0 0
0.63.0 0 0 0 0 0
0.62.0 0 0 0 0 0
0.61.2 0 0 0 0 0
0.61.1 0 0 0 0 0
0.61.0 0 0 0 0 0
0.60.0 0 0 0 0 0
0.59.0 0 0 0 0 0
0.58.1 0 0 0 0 0
0.58.0 0 0 0 0 0
0.57.0 0 0 0 0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 0
0.16.0 0 0 0 0 0
0.15.0 0 0 0 0 0
0.14.0 0 0 0 0 0
0.13.5 0 0 0 0 0
0.13.4 0 0 0 0 0
0.13.3 0 0 0 0 0
0.13.2 0 0 0 0 0
0.13.1 0 0 0 0 0
0.13.0 0 0 0 0 0
0.12.5 0 0 0 0 0
0.12.4 0 0 0 0 0
0.12.3 0 0 0 0 0
0.12.2 0 0 0 0 0
0.12.1 0 0 0 0 0
0.11.1 0 0 0 0 0
0.11.0 0 0 0 0 0
0.10.0 0 0 0 0 0
0.9.0 0 0 0 0 0
0.8.0 0 0 0 0 0
0.7.0 0 0 0 0 0
0.6.0 0 0 0 0 0
0.5.0 0 0 0 0 0
0.4.0 0 0 0 0 0
0.3.0 0 0 0 0 0
0.2.0 0 0 0 0 0
0.1.3 0 0 0 0 0
0.1.2 0 0 0 0 0
0.1.1 0 0 0 0 0
0.1.0 0 0 0 0 0
0.0.7 0 0 0 0 0
0.0.6 0 0 0 0 0
0.0.1 0 0 0 0 0

Stability
Latest release:

0.95.0 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



OXC Logo

MIT licensed Build Status Code Coverage CodSpeed Badge Sponsors

Discord chat Playground Website

⚓ Oxc

/oʊ ɛks siː/

The Oxidation Compiler is a collection of high-performance tools for JavaScript and TypeScript written in Rust.

Oxc is part of VoidZero's vision for a unified, high-performance toolchain for JavaScript. It powers Rolldown (Vite's future bundler) and enables the next generation of ultra-fast development tools that work seamlessly together.

For more information, check out our website at oxc.rs.

* Oxidation is the chemical process that creates rust

🏗️ Design Principles

  • Performance: Through rigorous performance engineering.
  • Correctness: Through conformance testing to standards and similar projects.
  • Developer Experience: Clear APIs, comprehensive documentation, and sensible configuration.
  • Modular composability: Use individual components independently or compose them into complete toolchains.

Read more about our architecture and performance philosophy.

📦 Tools & Packages

Tool npm crates.io Downloads
Linter oxlint - npm
Formatter oxfmt - npm
Parser oxc-parser oxc_parser npm
Transformer oxc-transform oxc_transformer npm
Minifier oxc-minify oxc_minifier npm
Resolver oxc-resolver oxc_resolver npm

See documentation for detailed usage guides for each tool.

⚡️ Quick Start

Linter

The production-ready linter catches mistakes for you with sensible defaults and optional configuration:

npx oxlint@latest

To give you an idea of its capabilities, here is an example from the vscode repository, which finishes linting 4800+ files in 0.7 seconds:

oxlint documentation

Formatter

Fast, opinionated code formatter compatible with Prettier:

npx oxfmt@latest

Formatter documentation

Parser (Node.js)

The fastest JavaScript/TypeScript parser written in Rust:

npm install oxc-parser
import { parseSync } from 'oxc-parser';
const result = parseSync('const x = 1;');

Parser documentation

Transformer (Node.js)

TypeScript, React, and modern JavaScript transformation:

npm install oxc-transform
import { transform } from 'oxc-transform';
const result = transform('source.tsx', code, { typescript: true });

Transformer documentation

Minifier (Node.js)

High-performance JavaScript minifier:

npm install oxc-minify
import { minify } from 'oxc-minify';
const result = minify(code, { mangle: true });

Minifier documentation

Rust

Individual crates are published for building your own JavaScript tools:

[dependencies]
oxc = "0.x"

Rust documentation

VoidZero Inc.

Oxc is a project of VoidZero, see our announcement Announcing VoidZero - Next Generation Toolchain for JavaScript.

If you have requirements for JavaScript tools at scale, please get in touch!

🙋 Who's using Oxc?

Rolldown and Nuxt use Oxc for parsing. Rolldown also uses Oxc for transformation and minification. Nova, swc-node, and knip use oxc_resolver for module resolution. Preact, Shopify, ByteDance, and Shopee use oxlint for linting.

See more projects using Oxc →

✍️ Contribute

Check out some of the good first issues or ask us on Discord.

See CONTRIBUTING.md for guidance, or read the complete contributing guide on our website →

If you are unable to contribute by code, you can still participate by:

🤝 Credits

This project was incubated with the assistance of these exceptional mentors and their projects:

Special thanks go to:

❤ Who's Sponsoring Oxc?

My sponsors

📖 License

Oxc is free and open-source software licensed under the MIT License.

Oxc ports or copies code from other open source projects, their licenses are listed in Third-party library licenses.