Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/prompt/deps.ts>stripColor

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function stripColor
import { stripColor } from "https://deno.land/x/cliffy@v0.19.0/prompt/deps.ts";

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string