MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / normalizeText

Function normalizeText

apps/web/server/update-codex-thread-settings.ts:20–22  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

18};
19
20function normalizeText(value: unknown): string {
21 return typeof value === 'string' ? value.trim() : '';
22}
23
24function readStdin(): Promise<string> {
25 return new Promise((resolve, reject) => {

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected