MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / normalizeSpaces

Function normalizeSpaces

packages/parser/src/formats/google-chat-takeout.ts:104–109  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

102}
103
104function normalizeSpaces(value: string): string {
105 return value
106 .replace(/[\u00a0\u202f]/g, ' ')
107 .replace(/\s+/g, ' ')
108 .trim()
109}
110
111function createUtcTimestamp(
112 year: number,

Callers 2

parseChineseUtcDateFunction · 0.85
parseEnglishUtcDateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected