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

x/windmill/node_modules/yaml/dist/stringify/foldFlowLines.d.ts>foldFlowLines

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function foldFlowLines
import { foldFlowLines } from "https://deno.land/x/windmill@v1.355.2/node_modules/yaml/dist/stringify/foldFlowLines.d.ts";

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.

Parameters

text: string
indent: string
optional
mode: FoldMode
optional
unnamed 3: FoldOptions

Returns

string