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

x/deno/std/encoding/mod.ts>yamlStringify

A modern runtime for JavaScript and TypeScript.
Go to Latest
function yamlStringify
import { yamlStringify } from "https://deno.land/x/deno@v0.28.0/std/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