parseYaml
parseYaml(
source,options?):unknown
Defined in: packages/format-yaml/src/parse.ts:29
Parses a YAML string into a plain JS value.
Throws YamlParseError for malformed input, carrying every diagnostic with its position. Alias expansion is bounded by DEFAULT_YAML_MAX_ALIAS_COUNT.
Parameters
Section titled “Parameters”source
Section titled “source”string
options?
Section titled “options?”Returns
Section titled “Returns”unknown