parse
parse(
src,reviverOrOpts?,opts?):unknown
Defined in: src/yaml-compat.ts:218
Multi-document behavior is checked against yaml@2.9: these entrypoints
preserve its suffix-as-empty-document counting through an internal parser
option. Native parsing and the js-yaml shim keep core stream semantics.
Parameters
Section titled “Parameters”string
reviverOrOpts?
Section titled “reviverOrOpts?”Reviver | Record<string, unknown> | null
Record<string, unknown>
Returns
Section titled “Returns”unknown