MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / normalizeEmail

Function normalizeEmail

apps/api/src/lib/email/email.utils.ts:40–41  ·  view source on GitHub ↗
(email: string)

Source from the content-addressed store, hash-verified

38 * `no-duplicate-canonical-helpers` lint-meta rule.
39 */
40export const normalizeEmail = (email: string): string =>
41 email.toLowerCase().trim();
42
43/**
44 * Mask a recipient email for safe logging. Examples:

Callers 14

recordMethod · 0.90
isSuppressedMethod · 0.90
clearMethod · 0.90
registerMethod · 0.90
loginMethod · 0.90
requestMethod · 0.90
issueRawTokenForTestsMethod · 0.90
forceVerifyForTestsMethod · 0.90
resendMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected