Skip to main content
Module

std/fmt/colors.ts>stripColor

Deno standard library
Go to Latest
function stripColor
import { stripColor } from "https://deno.land/std@0.95.0/fmt/colors.ts";

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string