Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/clarigen/src/deps.ts>parseYaml

Deno package for type-safe Clarinet tests
Go to Latest
function parseYaml
import { parseYaml } from "https://deno.land/x/clarigen@v0.4.2/src/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