Skip to content

yamlToJs

yamlToJs(value, arg, ctx?): any

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/nodes/toJS.d.ts:29

Recursively convert any node or its contents to native JavaScript

any

The input value

string | null

If value defines a toJSON() method, use this as its first argument

YamlToJsContext

Conversion context, originally set in Document#toJS(). If { keep: true } is not set, output should be suitable for JSON stringification.

any