Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/color.ts>stripColor

Command line tool created by deno to manage node projects | deno 实现的 node 项目包管理命令工具
Go to Latest
function stripColor
import { stripColor } from "https://deno.land/x/ndeno@v1.2.2/src/color.ts";

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string