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

x/progress/deps.ts>stripAnsiCode

ProgressBar in terminal for deno
Go to Latest
function stripAnsiCode
import { stripAnsiCode } from "https://deno.land/x/progress@v1.4.2/deps.ts";

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string