Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/simple_utility/mod.pure.ts>textGetReady

Simplify processing for Deno.
Latest
function textGetReady
import { textGetReady } from "https://deno.land/x/simple_utility@v2.3.2/mod.pure.ts";

Combined textFixWidth() and textPurgeSuperfluous().

Examples

Example 1

const format = textGetReady("1  +  1  =  2  ");

Parameters

data: string

Returns

string