MCPcopy Create free account
hub / github.com/denoland/std / stripAnsiCode

Function stripAnsiCode

internal/styles.ts:229–231  ·  view source on GitHub ↗
(string: string)

Source from the content-addressed store, hash-verified

227 * ```
228 */
229export function stripAnsiCode(string: string): string {
230 return string.replace(ANSI_REGEXP, "");
231}

Callers 8

format_test.tsFile · 0.90
assertIsErrorFunction · 0.90
assertIsErrorFunction · 0.90
addedFunction · 0.90
removedFunction · 0.90
assertDiffMessageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected