Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function stringify
import { stringify } from "https://deno.land/std@0.129.0/encoding/_yaml/stringify.ts";

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