Module

x/fresh/src/server/deps.ts>colors.stripAnsiCode

The next-gen web framework.
Extremely Popular
Latest
function colors.stripAnsiCode
import { colors } from "https://dotland.deno.dev/x/fresh@1.7.3/src/server/deps.ts";
const { stripAnsiCode } = colors;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string