macOS
brew install oxfmtlocal Homebrew formula metadata
安装
brew install oxfmtlocal Homebrew formula metadata
nix profile install nixpkgs#oxfmtnixpkgs package indexes · pkgs/by-name/ox/oxfmt/package.nix · 来源: api.github.com
winget install --id oxc-project.oxfmt -eWindows Package Manager source index · oxc-project.oxfmt · 来源: cdn.winget.microsoft.com
概览
High-performance formatting tool for JavaScript and TypeScript
历史
Oxfmt is Oxc's high-performance, Rust-powered, Prettier-compatible formatter for JavaScript and related web formats.
Oxfmt was developed inside the Oxc project as a high-performance formatter for the JavaScript ecosystem. Its design uses Prettier-compatible output as a baseline while implementing formatting on Oxc's Rust compiler stack.
The project progressed through an alpha and beta while adding native support for JavaScript, TypeScript, JSON, CSS-family formats, GraphQL, YAML, TOML, and Markdown, with additional formats handled through bundled compatibility components.
Oxfmt was announced as an alpha in December 2025 and reached beta in February 2026. The beta announcement reported broader ecosystem adoption after expansion into more file formats, embedded-language formatting, import sorting, and Tailwind CSS support.
Its Prettier-compatible command conventions and migration command are intended to let existing JavaScript projects change formatters with limited workflow disruption. Editor, CI, and coding-agent integrations are documented as first-class use cases.
Run oxfmt to rewrite supported files or oxfmt --check in CI. It works without configuration, but projects can commit an Oxfmt configuration to keep editors and automation consistent.
Oxfmt searches upward for .oxfmtrc.json, .oxfmtrc.jsonc, oxfmt.config.ts, or oxfmt.config.mts and also reads selected .editorconfig properties. Use oxfmt --migrate prettier to convert supported Prettier configuration and ignore settings.
In a combined Oxc workflow, apply oxlint --fix before oxfmt so semantic lint fixes occur before final formatting.
Oxfmt represents the Rust rewrite wave in JavaScript tooling: it reuses Oxc's parser and compiler infrastructure to target large repositories and CI workloads while preserving the output conventions developers expect from Prettier.
It is especially interesting because compatibility is paired with built-in capabilities commonly supplied by separate Prettier plugins, including import, Tailwind-class, and package.json sorting.
安全态势
没有找到 oxfmt 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./.oxfmtrc.json./.oxfmtrc.jsonc./oxfmt.config.ts./.editorconfig可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
oxfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:oxfmt |
|---|---|
| 版本 | 0.75.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/oxfmt |
| 主页 | https://oxc.rs/ |
| 上游文档 | https://oxc.rs/ |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/oxfmt/-/oxfmt-0.75.0.tgz |
| 最后更新 | 2026-10-28T08:43:46Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | oxfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
oxfmt
nix profile install nixpkgs#oxfmtoxc-project.oxfmt
winget install --id oxc-project.oxfmt -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.