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

x/windmill/node_modules/yaml/browser/dist/stringify/foldFlowLines.js>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.265.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js";

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
indent
optional
mode = [UNSUPPORTED]
optional
unnamed 3 = [UNSUPPORTED]