Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function YAML.stringify
import { YAML } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.4/dependencies.ts";
const { stringify } = YAML;

Serializes object as a YAML document.

You can disable exceptions by setting the skipInvalid option to true.

Parameters

obj: Record<string, unknown>
optional
options: DumpOptions

Returns

string