Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CaviraOSS/OpenReason
/ normalize
Function
normalize
src/utils/normalize.ts:1–6 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
1
export
function
normalize(text: string): string {
2
return
text
3
.replace(/\s+/g,
" "
)
4
.trim()
5
.toLowerCase()
6
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected