MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / normalizeText

Function normalizeText

luckmail-utils.js:24–29  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

22 }
23
24 function normalizeText(value) {
25 return String(value || '')
26 .replace(/\s+/g, ' ')
27 .trim()
28 .toLowerCase();
29 }
30
31 function normalizeTimestamp(value) {
32 if (!value) return 0;

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected