Module

x/yaml/src/stringify/foldFlowLines.ts

YAML parser and stringifier for JavaScript
Latest
import * as mod from "https://dotland.deno.dev/x/yaml@v2.6.0/src/stringify/foldFlowLines.ts";

Functions

Tries to keep input at up to lineWidth characters, splitting only on spaces not followed by newlines or spaces unless mode is 'quoted'. Lines are terminated with \n and started with indent.

Type Aliases

'block' prevents more-indented lines from being folded; 'quoted' allows for \ escapes, including escaped newlines