Skip to main content
Module

x/johnny_decimal/deps.ts>parseYAML

Utilities for interacting with a Johnny Decimal filing system.
Go to Latest
function parseYAML
Re-export
import { parseYAML } from "https://deno.land/x/johnny_decimal@1.0.3/deps.ts";

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
optional
options: ParseOptions

Returns

unknown