helpers/phone/normalize_phone library

Constants

ecCountryCode → const String
Ecuador country code.

Functions

normalizePhone(String input) → String
Normalizes the input phone number by removing separators and unifying the international prefix notation (00593, 593 and +593 become +593).
stripPhoneSeparators(String input) → String
Removes the separators commonly used to write a phone number: spaces, dots, dashes and parentheses.