Function: stripAnsi()
stripAnsi(Defined in: sanitize.ts:427 Strips ANSI escape codes from a string. Useful for cleaning terminal output before logging to files.text):string
Parameters
text
string
The text potentially containing ANSI codes.
Returns
string
The text with ANSI codes removed.