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

x/kubernetes_client/deps.ts>parseYaml

Typescript library for accessing a Kubernetes API server
Latest
function parseYaml
import { parseYaml } from "https://deno.land/x/kubernetes_client@v0.7.3/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