Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rad/src/3p/std.ts>colors.stripColor

general purpose build tool. statically typed, batteries included. command, function, and make-style tasks supported. improved npm scripts for deno.
Latest
function colors.stripColor
import { colors } from "https://deno.land/x/rad@v6.10.0/src/3p/std.ts";
const { stripColor } = colors;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string