Skip to main content
Module

x/dmm/deps.ts>colours.stripColor

Lightweight Deno Module Manager
Latest
function colours.stripColor
import { colours } from "https://deno.land/x/dmm@v2.1.2/deps.ts";
const { stripColor } = colours;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string