OptionalintOptionalkeepInclude a srcToken value on each parsed Node, containing the CST token
that was composed into this node.
Default: false
OptionallineIf set, newlines will be tracked, to allow for lineCounter.linePos(offset)
to provide the { line, col } positions within the input.
OptionalprettyInclude line/col position & node type directly in parse errors.
Default: true
OptionalstrictDetect and report errors that are required by the YAML 1.2 spec, but are caused by unambiguous content.
Default: true
OptionalstringParse all mapping keys as strings. Treat all non-scalar keys as errors.
Default: false
OptionaluniqueYAML requires map keys to be unique. By default, this is checked by
comparing scalar values with ===; deep equality is not checked for
aliases or collections. If merge keys are enabled by the schema,
multiple << keys are allowed.
Set false to disable, or provide your own comparator function to
customise. The comparator will be passed two ParsedNode values, and
is expected to return a boolean indicating their equality.
Default: true
Whether integers should be parsed into BigInt rather than number values.
Default:
falsehttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/BigInt