Skip to main content
Module

std/encoding/mod.ts>yamlStringify

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