x/velociraptor/deps.ts

The npm-style script runner for Deno
Latest
function parseYaml
import { parseYaml } from "https://deno.land/x/velociraptor@1.5.0/deps.ts?s=parseYaml";

Parses content as single YAML document.

Returns a JavaScript object or throws YAMLException on error. By default, does not support regexps, functions and undefined. This method is safe for untrusted data.

Parameters

content: string[src]
optional
options: ParseOptions
[src]