MCPcopy Create free account
hub / github.com/TanStack/cli / stripAnsi

Function stripAnsi

packages/cli/tests-e2e/helpers.ts:114–116  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

112}
113
114function stripAnsi(value: string) {
115 return value.replace(/\u001b\[[0-9;]*m/g, '')
116}
117
118function waitForDevServerURL(getStdout: () => string, timeoutMs = 90_000) {
119 const started = Date.now()

Callers 1

attemptFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected