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

x/bob/deps.ts>yaml.stringify

A static site generator for the dynamic web - develop with TSX and build with Deno
Go to Latest
function yaml.stringify
import { yaml } from "https://deno.land/x/bob@v1.1.1/deps.ts";
const { stringify } = yaml;

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