Skip to content

stripColor

1
function stripColor(string: string): string

Remove ANSI escape codes from the string.

Parameters

ParameterTypeDescription
stringstringto remove ANSI escape codes from

Returns

string

Source

twitchfy/packages/eventsub/src/logger/colors.ts:470