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

x/deno/std/encoding/yaml/stringify.ts>stringify

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