Module

std/encoding/yaml.ts>stringify

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