Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function YAML.parse
import { YAML } from "https://deno.land/x/embassyd_sdk@v0.3.4.3.0-alpha1/lib/esm/dependencies.js";
const { parse } = YAML;

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
options