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

x/lume_langdata/deps.ts>YAML.stringify

A Lume plugin for multi-language websites.
Latest
function YAML.stringify
import { YAML } from "https://deno.land/x/lume_langdata@v2.0.6/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