YAML

Node Documentation

Converts between a YAML formatted string and its JavaScript object representation, in either direction.

Inputs

payloadobject | string
A JavaScript object or YAML string.

Outputs

payloadobject | string
  • If the input is a YAML string it tries to parse it to a JavaScript object.
  • If the input is a JavaScript object it creates a YAML string.