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

x/denocordts/src/types/mod.ts>Colors.stripColor

An Object Oriented Discord API wrapper for Deno.
Latest
function Colors.stripColor
import { Colors } from "https://deno.land/x/denocordts@1.2.0/src/types/mod.ts";
const { stripColor } = Colors;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string