Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/yaml.ts>parse

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function parse
import { parse } from "https://deno.land/x/lume@v1.18.4/deps/yaml.ts";

Parses content as single YAML document.

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

Parameters

content: string
optional
options: ParseOptions

Returns

unknown