import { textPurgeSuperfluous } from "https://deno.land/x/simple_utility@v2.3.1/src/pure/text.ts";
Trim head and tail blank, remove CR and consecutive space, tab, LF to single space, tab, LF.
Examples
Example 1
Example 1
const format = textPurgeSuperfluous(" Lorem ipsum\r dolor sit \r\r amet. ");