Alternatives to yamlfmt

Format YAML files consistently from the command line. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as yamlfmt.

  • Prettier

    An opinionated code formatter for JavaScript, TypeScript, CSS, HTML, Markdown and other languages.

    Prettier is an opinionated MIT-licensed formatter covering many languages beyond YAML, including JavaScript, CSS and Markdown, with few configuration options and wide editor integration.

Similar software

Related functionality, not a direct replacement.