20 breaking releases

Uses new Rust 2024

new 0.130.0 May 11, 2026
0.128.0 Apr 27, 2026
0.123.0 Mar 30, 2026

#2270 in Programming languages

Download history 2023/week @ 2026-01-23 3094/week @ 2026-01-30 6923/week @ 2026-02-06 8066/week @ 2026-02-13 10020/week @ 2026-02-20 11439/week @ 2026-02-27 15742/week @ 2026-03-06 18832/week @ 2026-03-13 15298/week @ 2026-03-20 14361/week @ 2026-03-27 15714/week @ 2026-04-03 20866/week @ 2026-04-10 20449/week @ 2026-04-17 22894/week @ 2026-04-24 26512/week @ 2026-05-01 31767/week @ 2026-05-08

105,487 downloads per month
Used in 154 crates (17 directly)

MIT license

640KB
8K SLoC

String types for oxc.

This crate provides [Str], Ident, and CompactStr types for efficient string handling.




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 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

🙋 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 →

🔧 Lint or Format a Codebase

  • Lint: Oxlintnpx oxlint@latest
  • Format: Oxfmtnpx oxfmt@latest

🧰 Build Tooling on Top of Oxc

  • Parse JavaScript and TypeScript: Parser
  • Transform TypeScript, JSX, and modern JavaScript: Transformer
  • Minify JavaScript for production builds: Minifier
  • Resolve modules for JavaScript and TypeScript: Resolver

✍️ 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:

📚 Other Resources

❤ Who's Sponsoring Oxc?

My sponsors

📖 License

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

Thank you to namespace.so for powering our CI/CD pipelines with fast, free macOS and Linux runners.

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

Dependencies

~1.4–1.9MB
~29K SLoC