tele_number_utils 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +0,0 @@
1
- import { parsePhoneNumber } from ".";
2
- // Test numbers
3
- const testNumbers = [
4
- // ---- UK +44 ----
5
- "+442071234567", // UK main
6
- "+441632960123", // Isle of Man
7
- "+441534123456", // Jersey
8
- "+441481987654", // Guernsey
9
- // ---- NANPA +1 ----
10
- "+12015551234", // US
11
- "+14165551234", // Canada
12
- "+17875551234", // Puerto Rico
13
- // ---- Russia / Kazakhstan +7 ----
14
- "+79161234567", // Russia
15
- "+76171234567", // Kazakhstan
16
- // ---- Australian territories +672 ----
17
- "+67212345678", // Australian external territory
18
- // ---- Regular countries ----
19
- "+919876543210", // India
20
- "+4915123456789", // Germany
21
- // ---- Edge cases ----
22
- "4915123456789", // Missing +
23
- "+999123456789", // Unknown code
24
- ];
25
- // Run parser and log results
26
- console.log("===== Phone Number Parsing Test =====");
27
- for (const number of testNumbers) {
28
- const parsed = parsePhoneNumber(number);
29
- console.log(`${number} =>`, parsed);
30
- }