(text: string)
| 12 | * @returns {string} The text without ANSI escape codes. |
| 13 | */ |
| 14 | export function stripAnsi(text: string) { |
| 15 | return text.replace(new RegExp(ansiRegex, "g"), ""); |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * Centers a string within a specified total width, padding it with spaces or another specified character. |
no outgoing calls
no test coverage detected
searching dependent graphs…