country-codes-library 1.0.0 → 1.1.1

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.
@@ -0,0 +1,245 @@
1
+ export declare const ThreeLetterISORegionCode: {
2
+ Afghanistan: string;
3
+ AlandIslands: string;
4
+ Albania: string;
5
+ Algeria: string;
6
+ AmericanSamoa: string;
7
+ Andorra: string;
8
+ Angola: string;
9
+ Anguilla: string;
10
+ AntiguaandBarbuda: string;
11
+ Argentina: string;
12
+ Armenia: string;
13
+ Aruba: string;
14
+ Australia: string;
15
+ Austria: string;
16
+ Azerbaijan: string;
17
+ Bahamas: string;
18
+ Bahrain: string;
19
+ Bangladesh: string;
20
+ Barbados: string;
21
+ Belarus: string;
22
+ Belgium: string;
23
+ Belize: string;
24
+ Benin: string;
25
+ Bermuda: string;
26
+ Bhutan: string;
27
+ Bolivia: string;
28
+ BonaireSintEustatiusandSaba: string;
29
+ BosniaandHerzegovina: string;
30
+ Botswana: string;
31
+ Brazil: string;
32
+ BritishIndianOceanTerritory: string;
33
+ BritishVirginIslands: string;
34
+ Brunei: string;
35
+ Bulgaria: string;
36
+ BurkinaFaso: string;
37
+ Burundi: string;
38
+ CaboVerde: string;
39
+ Cambodia: string;
40
+ Cameroon: string;
41
+ Canada: string;
42
+ CaymanIslands: string;
43
+ CentralAfricanRepublic: string;
44
+ Chad: string;
45
+ Chile: string;
46
+ China: string;
47
+ ChristmasIsland: string;
48
+ Cocos_Keeling_Islands: string;
49
+ Colombia: string;
50
+ Comoros: string;
51
+ Congo: string;
52
+ Congo_DRC: string;
53
+ CookIslands: string;
54
+ CostaRica: string;
55
+ CotedIvoire: string;
56
+ Croatia: string;
57
+ Cuba: string;
58
+ Curacao: string;
59
+ Cyprus: string;
60
+ Czechia: string;
61
+ Denmark: string;
62
+ Djibouti: string;
63
+ Dominica: string;
64
+ DominicanRepublic: string;
65
+ Ecuador: string;
66
+ Egypt: string;
67
+ ElSalvador: string;
68
+ EquatorialGuinea: string;
69
+ Eritrea: string;
70
+ Estonia: string;
71
+ Eswatini: string;
72
+ Ethiopia: string;
73
+ FalklandIslands: string;
74
+ FaroeIslands: string;
75
+ Fiji: string;
76
+ Finland: string;
77
+ France: string;
78
+ FrenchGuiana: string;
79
+ FrenchPolynesia: string;
80
+ Gabon: string;
81
+ Gambia: string;
82
+ Georgia: string;
83
+ Germany: string;
84
+ Ghana: string;
85
+ Gibraltar: string;
86
+ Greece: string;
87
+ Greenland: string;
88
+ Grenada: string;
89
+ Guadeloupe: string;
90
+ Guam: string;
91
+ Guatemala: string;
92
+ Guernsey: string;
93
+ Guinea: string;
94
+ GuineaBissau: string;
95
+ Guyana: string;
96
+ Haiti: string;
97
+ Honduras: string;
98
+ HongKongSAR: string;
99
+ Hungary: string;
100
+ Iceland: string;
101
+ India: string;
102
+ Indonesia: string;
103
+ Iran: string;
104
+ Iraq: string;
105
+ Ireland: string;
106
+ IsleofMan: string;
107
+ Israel: string;
108
+ Italy: string;
109
+ Jamaica: string;
110
+ Japan: string;
111
+ Jersey: string;
112
+ Jordan: string;
113
+ Kazakhstan: string;
114
+ Kenya: string;
115
+ Kiribati: string;
116
+ Korea: string;
117
+ Kuwait: string;
118
+ Kyrgyzstan: string;
119
+ Laos: string;
120
+ Latvia: string;
121
+ Lebanon: string;
122
+ Lesotho: string;
123
+ Liberia: string;
124
+ Libya: string;
125
+ Liechtenstein: string;
126
+ Lithuania: string;
127
+ Luxembourg: string;
128
+ MacaoSAR: string;
129
+ Madagascar: string;
130
+ Malawi: string;
131
+ Malaysia: string;
132
+ Maldives: string;
133
+ Mali: string;
134
+ Malta: string;
135
+ MarshallIslands: string;
136
+ Martinique: string;
137
+ Mauritania: string;
138
+ Mauritius: string;
139
+ Mayotte: string;
140
+ Mexico: string;
141
+ Micronesia: string;
142
+ Moldova: string;
143
+ Monaco: string;
144
+ Mongolia: string;
145
+ Montenegro: string;
146
+ Montserrat: string;
147
+ Morocco: string;
148
+ Mozambique: string;
149
+ Myanmar: string;
150
+ Namibia: string;
151
+ Nauru: string;
152
+ Nepal: string;
153
+ Netherlands: string;
154
+ NewCaledonia: string;
155
+ NewZealand: string;
156
+ Nicaragua: string;
157
+ Niger: string;
158
+ Nigeria: string;
159
+ Niue: string;
160
+ NorfolkIsland: string;
161
+ NorthKorea: string;
162
+ NorthMacedonia: string;
163
+ NorthernMarianaIslands: string;
164
+ Norway: string;
165
+ Oman: string;
166
+ Pakistan: string;
167
+ Palau: string;
168
+ PalestinianAuthority: string;
169
+ Panama: string;
170
+ PapuaNewGuinea: string;
171
+ Paraguay: string;
172
+ Peru: string;
173
+ Philippines: string;
174
+ PitcairnIslands: string;
175
+ Poland: string;
176
+ Portugal: string;
177
+ PuertoRico: string;
178
+ Qatar: string;
179
+ Reunion: string;
180
+ Romania: string;
181
+ Russia: string;
182
+ Rwanda: string;
183
+ Samoa: string;
184
+ SanMarino: string;
185
+ SaoTomeandPrincipe: string;
186
+ SaudiArabia: string;
187
+ Senegal: string;
188
+ Serbia: string;
189
+ Seychelles: string;
190
+ SierraLeone: string;
191
+ Singapore: string;
192
+ SintMaarten: string;
193
+ Slovakia: string;
194
+ Slovenia: string;
195
+ SolomonIslands: string;
196
+ Somalia: string;
197
+ SouthAfrica: string;
198
+ SouthSudan: string;
199
+ Spain: string;
200
+ SriLanka: string;
201
+ StHelenaAscensionTristandaCunha: string;
202
+ StBarthelemy: string;
203
+ StKittsandNevis: string;
204
+ StLucia: string;
205
+ StMartin: string;
206
+ StPierreandMiquelon: string;
207
+ StVincentandtheGrenadines: string;
208
+ Sudan: string;
209
+ Suriname: string;
210
+ SvalbardandJanMayen: string;
211
+ Sweden: string;
212
+ Switzerland: string;
213
+ Syria: string;
214
+ Taiwan: string;
215
+ Tajikistan: string;
216
+ Tanzania: string;
217
+ Thailand: string;
218
+ TimorLeste: string;
219
+ Togo: string;
220
+ Tokelau: string;
221
+ Tonga: string;
222
+ TrinidadandTobago: string;
223
+ Tunisia: string;
224
+ Turkey: string;
225
+ Turkmenistan: string;
226
+ TurksandCaicosIslands: string;
227
+ Tuvalu: string;
228
+ USOutlyingIslands: string;
229
+ USVirginIslands: string;
230
+ Uganda: string;
231
+ Ukraine: string;
232
+ UnitedArabEmirates: string;
233
+ UnitedKingdom: string;
234
+ UnitedStates: string;
235
+ Uruguay: string;
236
+ Uzbekistan: string;
237
+ Vanuatu: string;
238
+ VaticanCity: string;
239
+ Venezuela: string;
240
+ Vietnam: string;
241
+ WallisandFutuna: string;
242
+ Yemen: string;
243
+ Zambia: string;
244
+ Zimbabwe: string;
245
+ };
@@ -0,0 +1,248 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ThreeLetterISORegionCode = void 0;
4
+ exports.ThreeLetterISORegionCode = {
5
+ Afghanistan: "AFG",
6
+ AlandIslands: "ALA",
7
+ Albania: "ALB",
8
+ Algeria: "DZA",
9
+ AmericanSamoa: "ASM",
10
+ Andorra: "AND",
11
+ Angola: "AGO",
12
+ Anguilla: "AIA",
13
+ AntiguaandBarbuda: "ATG",
14
+ Argentina: "ARG",
15
+ Armenia: "ARM",
16
+ Aruba: "ABW",
17
+ Australia: "AUS",
18
+ Austria: "AUT",
19
+ Azerbaijan: "AZE",
20
+ Bahamas: "BHS",
21
+ Bahrain: "BHR",
22
+ Bangladesh: "BGD",
23
+ Barbados: "BRB",
24
+ Belarus: "BLR",
25
+ Belgium: "BEL",
26
+ Belize: "BLZ",
27
+ Benin: "BEN",
28
+ Bermuda: "BMU",
29
+ Bhutan: "BTN",
30
+ Bolivia: "BOL",
31
+ BonaireSintEustatiusandSaba: "BES",
32
+ BosniaandHerzegovina: "BIH",
33
+ Botswana: "BWA",
34
+ Brazil: "BRA",
35
+ BritishIndianOceanTerritory: "IOT",
36
+ BritishVirginIslands: "VGB",
37
+ Brunei: "BRN",
38
+ Bulgaria: "BGR",
39
+ BurkinaFaso: "BFA",
40
+ Burundi: "BDI",
41
+ CaboVerde: "CPV",
42
+ Cambodia: "KHM",
43
+ Cameroon: "CMR",
44
+ Canada: "CAN",
45
+ CaymanIslands: "CYM",
46
+ CentralAfricanRepublic: "CAF",
47
+ Chad: "TCD",
48
+ Chile: "CHL",
49
+ China: "CHN",
50
+ ChristmasIsland: "CXR",
51
+ Cocos_Keeling_Islands: "CCK",
52
+ Colombia: "COL",
53
+ Comoros: "COM",
54
+ Congo: "COG",
55
+ Congo_DRC: "COD",
56
+ CookIslands: "COK",
57
+ CostaRica: "CRI",
58
+ CotedIvoire: "CIV",
59
+ Croatia: "HRV",
60
+ Cuba: "CUB",
61
+ Curacao: "CUW",
62
+ Cyprus: "CYP",
63
+ Czechia: "CZE",
64
+ Denmark: "DNK",
65
+ Djibouti: "DJI",
66
+ Dominica: "DMA",
67
+ DominicanRepublic: "DOM",
68
+ Ecuador: "ECU",
69
+ Egypt: "EGY",
70
+ ElSalvador: "SLV",
71
+ EquatorialGuinea: "GNQ",
72
+ Eritrea: "ERI",
73
+ Estonia: "EST",
74
+ Eswatini: "SWZ",
75
+ Ethiopia: "ETH",
76
+ FalklandIslands: "FLK",
77
+ FaroeIslands: "FRO",
78
+ Fiji: "FJI",
79
+ Finland: "FIN",
80
+ France: "FRA",
81
+ FrenchGuiana: "GUF",
82
+ FrenchPolynesia: "PYF",
83
+ Gabon: "GAB",
84
+ Gambia: "GMB",
85
+ Georgia: "GEO",
86
+ Germany: "DEU",
87
+ Ghana: "GHA",
88
+ Gibraltar: "GIB",
89
+ Greece: "GRC",
90
+ Greenland: "GRL",
91
+ Grenada: "GRD",
92
+ Guadeloupe: "GLP",
93
+ Guam: "GUM",
94
+ Guatemala: "GTM",
95
+ Guernsey: "GGY",
96
+ Guinea: "GIN",
97
+ GuineaBissau: "GNB",
98
+ Guyana: "GUY",
99
+ Haiti: "HTI",
100
+ Honduras: "HND",
101
+ HongKongSAR: "HKG",
102
+ Hungary: "HUN",
103
+ Iceland: "ISL",
104
+ India: "IND",
105
+ Indonesia: "IDN",
106
+ Iran: "IRN",
107
+ Iraq: "IRQ",
108
+ Ireland: "IRL",
109
+ IsleofMan: "IMN",
110
+ Israel: "ISR",
111
+ Italy: "ITA",
112
+ Jamaica: "JAM",
113
+ Japan: "JPN",
114
+ Jersey: "JEY",
115
+ Jordan: "JOR",
116
+ Kazakhstan: "KAZ",
117
+ Kenya: "KEN",
118
+ Kiribati: "KIR",
119
+ Korea: "KOR",
120
+ Kuwait: "KWT",
121
+ Kyrgyzstan: "KGZ",
122
+ Laos: "LAO",
123
+ Latvia: "LVA",
124
+ Lebanon: "LBN",
125
+ Lesotho: "LSO",
126
+ Liberia: "LBR",
127
+ Libya: "LBY",
128
+ Liechtenstein: "LIE",
129
+ Lithuania: "LTU",
130
+ Luxembourg: "LUX",
131
+ MacaoSAR: "MAC",
132
+ Madagascar: "MDG",
133
+ Malawi: "MWI",
134
+ Malaysia: "MYS",
135
+ Maldives: "MDV",
136
+ Mali: "MLI",
137
+ Malta: "MLT",
138
+ MarshallIslands: "MHL",
139
+ Martinique: "MTQ",
140
+ Mauritania: "MRT",
141
+ Mauritius: "MUS",
142
+ Mayotte: "MYT",
143
+ Mexico: "MEX",
144
+ Micronesia: "FSM",
145
+ Moldova: "MDA",
146
+ Monaco: "MCO",
147
+ Mongolia: "MNG",
148
+ Montenegro: "MNE",
149
+ Montserrat: "MSR",
150
+ Morocco: "MAR",
151
+ Mozambique: "MOZ",
152
+ Myanmar: "MMR",
153
+ Namibia: "NAM",
154
+ Nauru: "NRU",
155
+ Nepal: "NPL",
156
+ Netherlands: "NLD",
157
+ NewCaledonia: "NCL",
158
+ NewZealand: "NZL",
159
+ Nicaragua: "NIC",
160
+ Niger: "NER",
161
+ Nigeria: "NGA",
162
+ Niue: "NIU",
163
+ NorfolkIsland: "NFK",
164
+ NorthKorea: "PRK",
165
+ NorthMacedonia: "MKD",
166
+ NorthernMarianaIslands: "MNP",
167
+ Norway: "NOR",
168
+ Oman: "OMN",
169
+ Pakistan: "PAK",
170
+ Palau: "PLW",
171
+ PalestinianAuthority: "PSE",
172
+ Panama: "PAN",
173
+ PapuaNewGuinea: "PNG",
174
+ Paraguay: "PRY",
175
+ Peru: "PER",
176
+ Philippines: "PHL",
177
+ PitcairnIslands: "PCN",
178
+ Poland: "POL",
179
+ Portugal: "PRT",
180
+ PuertoRico: "PRI",
181
+ Qatar: "QAT",
182
+ Reunion: "REU",
183
+ Romania: "ROU",
184
+ Russia: "RUS",
185
+ Rwanda: "RWA",
186
+ Samoa: "WSM",
187
+ SanMarino: "SMR",
188
+ SaoTomeandPrincipe: "STP",
189
+ SaudiArabia: "SAU",
190
+ Senegal: "SEN",
191
+ Serbia: "SRB",
192
+ Seychelles: "SYC",
193
+ SierraLeone: "SLE",
194
+ Singapore: "SGP",
195
+ SintMaarten: "SXM",
196
+ Slovakia: "SVK",
197
+ Slovenia: "SVN",
198
+ SolomonIslands: "SLB",
199
+ Somalia: "SOM",
200
+ SouthAfrica: "ZAF",
201
+ SouthSudan: "SSD",
202
+ Spain: "ESP",
203
+ SriLanka: "LKA",
204
+ StHelenaAscensionTristandaCunha: "SHN",
205
+ StBarthelemy: "BLM",
206
+ StKittsandNevis: "KNA",
207
+ StLucia: "LCA",
208
+ StMartin: "MAF",
209
+ StPierreandMiquelon: "SPM",
210
+ StVincentandtheGrenadines: "VCT",
211
+ Sudan: "SDN",
212
+ Suriname: "SUR",
213
+ SvalbardandJanMayen: "SJM",
214
+ Sweden: "SWE",
215
+ Switzerland: "CHE",
216
+ Syria: "SYR",
217
+ Taiwan: "TWN",
218
+ Tajikistan: "TJK",
219
+ Tanzania: "TZA",
220
+ Thailand: "THA",
221
+ TimorLeste: "TLS",
222
+ Togo: "TGO",
223
+ Tokelau: "TKL",
224
+ Tonga: "TON",
225
+ TrinidadandTobago: "TTO",
226
+ Tunisia: "TUN",
227
+ Turkey: "TUR",
228
+ Turkmenistan: "TKM",
229
+ TurksandCaicosIslands: "TCA",
230
+ Tuvalu: "TUV",
231
+ USOutlyingIslands: "UMI",
232
+ USVirginIslands: "VIR",
233
+ Uganda: "UGA",
234
+ Ukraine: "UKR",
235
+ UnitedArabEmirates: "ARE",
236
+ UnitedKingdom: "GBR",
237
+ UnitedStates: "USA",
238
+ Uruguay: "URY",
239
+ Uzbekistan: "UZB",
240
+ Vanuatu: "VUT",
241
+ VaticanCity: "VAT",
242
+ Venezuela: "VEN",
243
+ Vietnam: "VNM",
244
+ WallisandFutuna: "WLF",
245
+ Yemen: "YEM",
246
+ Zambia: "ZMB",
247
+ Zimbabwe: "ZWE"
248
+ };
@@ -248,5 +248,5 @@ exports.TwoLetterISORegionCode = {
248
248
  World: "001",
249
249
  Yemen: "YE",
250
250
  Zambia: "ZM",
251
- Zimbabwe: "ZW",
251
+ Zimbabwe: "ZW"
252
252
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "country-codes-library",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "The Country Code Library provides a collection of two-letter and three-letter country codes according to the ISO 3166-1 standard, as well as it provides USA, China and Canada Province codes (State codes / adminstrative division codes). In addition, it includes telephone calling codes, currency codes, currency Symbols for countries across the world.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,30 @@
25
25
  },
26
26
  "publishConfig": {
27
27
  "registry": "https://registry.npmjs.org"
28
- }
28
+ },
29
+ "keywords": [
30
+ "telephone",
31
+ "calling",
32
+ "two digit",
33
+ "three digit",
34
+ "two-digit-country-code",
35
+ "three-digit-country-code",
36
+ "twolettercountrycode",
37
+ "countrycode",
38
+ "threelettercountrycode",
39
+ "USAStateCode",
40
+ "+2digitcode",
41
+ "+3digitcode",
42
+ "ISO-3166",
43
+ "country-codes",
44
+ "geography",
45
+ "canadaprovince",
46
+ "chinaprovince",
47
+ "proviencecode",
48
+ "provience",
49
+ "geocode",
50
+ "countrycodes",
51
+ "currencycodes",
52
+ "currencysymbols"
53
+ ]
29
54
  }