Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gan-Xing/CodexBridge
/ normalizeText
Function
normalizeText
apps/web/server/create-codex-thread.ts:20–22 ·
view source on GitHub ↗
(value: unknown)
Source
from the content-addressed store, hash-verified
18
};
19
20
function
normalizeText(value: unknown): string {
21
return
typeof value ===
'string'
? value.trim() :
''
;
22
}
23
24
function
readStdin(): Promise<string> {
25
return
new
Promise((resolve, reject) => {
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected