
"VoidZero has announced the alpha version of Oxfmt, a Rust-based code formatter designed to bring significant performance improvements to JavaScript and TypeScript projects. The formatter, which is part of VoidZero's broader Oxc toolchain initiative, delivers formatting speeds more than 30 times faster than Prettier while maintaining over 95% compatibility with Prettier's output. Oxfmt addresses a challenge in the JavaScript ecosystem by combining the performance benefits of Rust-based tooling with the familiarity of Prettier's formatting style."
"One of the key motivations behind Oxfmt's development stems from user feedback following the release of Oxlint earlier in 2025. According to the announcement post, there have been consistent requests for styling features like import sorting. VoidZero maintains a clear separation of concerns: linters check for logic while formatters focus on code style. By building both Oxfmt and Oxlint, the team aims to reduce configuration overhead and eliminate the need to disable overlapping rules between tools."
"Performance benchmarks show Oxfmt is approximately 3 times faster than Biome and 30 times faster than Prettier on initial runs without cache, according to the project's official benchmarks. The formatter is built on the Oxc compiler stack and avoids architectural bottlenecks common in existing formatter implementations, making it particularly suited for large codebases and CI environments. Migrating from Prettier to Oxfmt is straightforward for most projects. Developers can rename their existing .prettierrc configuration file and begin using Oxfmt immediately."
VoidZero released the alpha of Oxfmt, a Rust-based code formatter for JavaScript and TypeScript that focuses on high performance. Oxfmt is part of the Oxc toolchain and achieves formatting speeds more than 30 times faster than Prettier while maintaining over 95% compatibility with Prettier output. The tool aims to be a drop-in replacement with support for major Prettier options such as singleQuote and printWidth. Oxfmt was driven by user requests for styling features following Oxlint and reflects a separation of concerns between linters and formatters. Built on the Oxc compiler stack, Oxfmt avoids common architectural bottlenecks and targets large codebases and CI environments. Migration typically involves renaming .prettierrc to use Oxfmt immediately.
Read at InfoQ
Unable to calculate read time
Collection
[
|
...
]