Skip to content

renderYaml

renderYaml(value) → string · YAML

Render a UDM object as a YAML string. See Chapter 26.

  • value (required): UDM value to serialize
utlx
renderYaml({database: {host: "localhost", port: 5432}})
// "database:\n  host: localhost\n  port: 5432"

Released under AGPL-3.0.