Skip to main content
Module

x/dynamo/deps.ts>parseYaml

A useful configuration library for Deno applications
Go to Latest
function parseYaml
import { parseYaml } from "https://deno.land/x/dynamo@v0.1.1/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