Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/deps/yaml.ts>YAML.stringify

Advanced Web Composition for Future
Latest
function YAML.stringify
import { YAML } from "https://deno.land/x/ogone@revb3/deps/yaml.ts";
const { stringify } = YAML;

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