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

x/lume/deps/yaml.ts>stringify

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function stringify
import { stringify } from "https://deno.land/x/lume@v1.17.2/deps/yaml.ts";

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