Skip to main content
Module

x/bob/deps.ts>yaml.stringify

A static site generator for the dynamic web - develop with TSX and build with Deno
Latest
function yaml.stringify
import { yaml } from "https://deno.land/x/bob@v2.8.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