Skip to main content
Module

x/deno_cache/deps.ts>colors.stripColor

Deno CLI's module cache
Go to Latest
function colors.stripColor
import { colors } from "https://deno.land/x/deno_cache@0.5.2/deps.ts";
const { stripColor } = colors;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string