oxfmt

Formatter for the JavaScript Oxidation Compiler

  • Types
  • ESM
License
MIT
Install Size
8.9 MB(18.1 MB)
Vulns
0
Published

Get started

$npm install oxfmt
# Usually installed as a dev dependency
$npm install -D oxfmt
# Run locally
$npx oxfmt

Readme



Oxc logo


MIT licensed Build Status Code Coverage

Discord chat Playground

⚓ Oxc

The Oxidation Compiler is creating a suite of high-performance tools for JavaScript and TypeScript.

Oxfmt

This is the formatter for oxc.

See usage instructions.

Run

  • npx --yes oxfmt@latest in your JavaScript / TypeScript codebase and see it complete in milliseconds. No configurations are required.
  • npx oxfmt@latest --help for quick usage instructions.
  • npx skills add https://github.com/oxc-project/oxc --skill migrate-oxfmt to install the migrate-oxfmt skill, then run /migrate-oxfmt to migrate from Prettier or Biome.
  • See also migrate from Prettier.