Module

x/cliffy/prompt/deps.ts>stripAnsiCode

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
function stripAnsiCode
import { stripAnsiCode } from "https://dotland.deno.dev/x/cliffy@v1.0.0-rc.4/prompt/deps.ts";

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string