Module

std/yaml/stringify.ts>stringify

Deno standard library
Go to Latest
function stringify
import { stringify } from "https://dotland.deno.dev/std@0.181.0/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