Skip to main content
Module

std/yaml/mod.ts>stringify

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