Skip to main content
Module

x/wmill/deps.ts>yamlParse

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
function yamlParse
import { yamlParse } from "https://deno.land/x/wmill@v1.323.6/deps.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