Skip to main content
Module

x/linkding/deps.ts>Colors.stripColor

Access your Linkding API with Deno.
Go to Latest
function Colors.stripColor
import { Colors } from "https://deno.land/x/linkding@v1.0.0/deps.ts";
const { stripColor } = Colors;

Remove ANSI escape codes from the string.

Parameters

string: string

to remove ANSI escape codes from

Returns

string