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

std/encoding/yaml.ts>stringify

Deno standard library
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.62.0/encoding/yaml.ts";

Serializes object as a YAML document.

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

Parameters

obj: object
optional
options: DumpOptions

Returns

string