Skip to content

sebastian-software/prettier-yaml

Repository files navigation

Prettier YAML

A small solution for prettifying YAML files using yaml and prettier. One thing not covered by other tools before was the reduction/normalization on quotes. YAML do not require quotes for most strings, but for some.

Test npm

Features

  • Parsing using yaml
  • Prettifying using prettier
  • Removal of all optional string quotes

Documentation

Usage when installed:

prettier-yaml <glob>

Usage using npx (without installing):

npx prettier-yaml <glob>

License

Apache License; Version 2.0, January 2004

Copyright

Logo of Sebastian Software GmbH, Mainz, Germany

Copyright 2023
Sebastian Software GmbH