oxc README

The project's README from github.com/oxc-project/oxc. As one markdown file: README.md.



Oxc logo


MIT licensed Build Status Code Coverage CodSpeed Badge

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

🧰 Build Tooling on Top of 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:

📚 Other Resources

Sponsored By

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

oxc (oxc-project/oxc)

Searching Database…

23.1K ·GitHub
Что это такое?Oxc — Oxidation Compiler — это набор высокопроизводительных инструментов для JavaScript и TypeScript, написанных на Rust: парсер, линтер, форматтер, трансформер, минификатор и резолвер модулей.
Это один инструмент или целый набор?Целый набор. Для повседневной работы есть Oxlint для линтинга и Oxfmt для форматирования, а также низкоуровневые компоненты — парсер, трансформер, минификатор и резолвер, — на которых строятся другие инструменты сборки.
Как запустить это в своём проекте?Установка не нужна: npx oxlint@latest проверяет код линтером, а npx oxfmt@latest форматирует его — оба запускаются прямо из npm.
Мне нужен Rust, чтобы этим пользоваться?Нет. Инструменты поставляются в виде готовых npm-пакетов, так что никакая сборка Rust и нативная компиляция с вашей стороны не требуются.
Кто уже этим пользуется?Preact, Shopify, ByteDance и Shopee линтят код через oxlint; Rolldown и Nuxt используют его для парсинга, а knip — его резолвер.
Какое отношение Oxc имеет к Vite?Он лежит в основе Rolldown — бандлера Vite — и является частью идеи VoidZero о едином высокопроизводительном наборе инструментов для JavaScript.
Почему он называется Oxc?Это сокращение от Oxidation Compiler — окисление это химический процесс, при котором образуется ржавчина (rust), игра слов в честь языка Rust, на котором написаны эти инструменты.
Насколько он быстрее существующих JS-инструментов?В README говорится о высокой производительности, но конкретных цифр там нет; среди ресурсов проекта есть ссылка на страницу с бенчмарками.
Можно попробовать без установки чего-либо?Да — в README есть ссылка на онлайн-песочницу, а сайт проекта с документацией находится по адресу oxc.rs.
What are similar projects?closure-compiler, biome, swc, rspack, tools, esbuild, babel, rolldown
Size
204.7 MB
Stars
23.1K
Age
3y
Commits · 90 Days