Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/deps.ts>YAML.stringify

A Deno library to interface with the Discord API
Latest
function YAML.stringify
import { YAML } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { stringify } = YAML;

Stringify a value as a YAML document.

Parameters

value: any
  • A replacer array or function, as in JSON.stringify()

Returns

string

Will always include \n as the last character, as is expected of YAML documents.

Parameters

value: any
optional
replacer: Replacer | null
optional
options: string | number | ()

Returns

string