If true, sort keys when dumping YAML. If a function, use the function to sort the keys.
lineWidth?: number
80
Set max line width for serialized output.
noRefs?: boolean
false
If true, don't convert duplicate objects into references.
noCompatMode?: boolean
false
If true don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1
condenseFlow?: boolean;
false
If true flow sequences will be condensed, omitting the space between a, b. Eg. '[a,b]', and omitting the space between key: value and quoting the key. Eg. '{"a":b}'. Can be useful when using yaml for pretty URL query params as spaces are %-encoded.