Skip to main content
Module

x/dev_server/deps.ts>colors.stripColor

Feel free to import TypeScript files in the script tag!
Latest
function colors.stripColor
import { colors } from "https://deno.land/x/dev_server@v1.0.0-rc4/deps.ts";
const { stripColor } = colors;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string