Skip to content

prettyPrintYAML

prettyPrintYAML(yaml, options?) → string · Format

Pretty-print a YAML string with optional formatting options.

  • yaml (required): YAML string to format

  • options (optional): formatting options

utlx
prettyPrintYAML($input.yamlData)         // formatted YAML

Q

Released under AGPL-3.0.