MCPcopy Index your code
hub / github.com/callstack/agent-device / formatProxyOutputValue

Function formatProxyOutputValue

src/cli/commands/proxy.ts:115–121  ·  view source on GitHub ↗
(
  value: string,
  format: Parameters<typeof colorize>[1],
  useColor: boolean,
)

Source from the content-addressed store, hash-verified

113}
114
115function formatProxyOutputValue(
116 value: string,
117 format: Parameters<typeof colorize>[1],
118 useColor: boolean,
119): string {
120 return useColor ? colorize(value, format, { validateStream: false }) : value;
121}
122
123function waitForever(): Promise<never> {
124 return new Promise(() => {});

Callers 1

renderProxyStartupFunction · 0.85

Calls 1

colorizeFunction · 0.90

Tested by

no test coverage detected