country-codes-library 1.0.0

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 @@
1
+ export { TwoLetterISORegionCode } from './twoLetterISORegionCode';
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TwoLetterISORegionCode = void 0;
4
+ var twoLetterISORegionCode_1 = require("./twoLetterISORegionCode");
5
+ Object.defineProperty(exports, "TwoLetterISORegionCode", { enumerable: true, get: function () { return twoLetterISORegionCode_1.TwoLetterISORegionCode; } });
@@ -0,0 +1,249 @@
1
+ export declare const TwoLetterISORegionCode: {
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
+ Europe: string;
74
+ FalklandIslands: string;
75
+ FaroeIslands: string;
76
+ Fiji: string;
77
+ Finland: string;
78
+ France: string;
79
+ FrenchGuiana: string;
80
+ FrenchPolynesia: string;
81
+ Gabon: string;
82
+ Gambia: string;
83
+ Georgia: string;
84
+ Germany: string;
85
+ Ghana: string;
86
+ Gibraltar: string;
87
+ Greece: string;
88
+ Greenland: string;
89
+ Grenada: string;
90
+ Guadeloupe: string;
91
+ Guam: string;
92
+ Guatemala: string;
93
+ Guernsey: string;
94
+ Guinea: string;
95
+ GuineaBissau: string;
96
+ Guyana: string;
97
+ Haiti: string;
98
+ Honduras: string;
99
+ HongKongSAR: string;
100
+ Hungary: string;
101
+ Iceland: string;
102
+ India: string;
103
+ Indonesia: string;
104
+ Iran: string;
105
+ Iraq: string;
106
+ Ireland: string;
107
+ IsleofMan: string;
108
+ Israel: string;
109
+ Italy: string;
110
+ Jamaica: string;
111
+ Japan: string;
112
+ Jersey: string;
113
+ Jordan: string;
114
+ Kazakhstan: string;
115
+ Kenya: string;
116
+ Kiribati: string;
117
+ Korea: string;
118
+ Kosovo: string;
119
+ Kuwait: string;
120
+ Kyrgyzstan: string;
121
+ Laos: string;
122
+ LatinAmerica: string;
123
+ Latvia: string;
124
+ Lebanon: string;
125
+ Lesotho: string;
126
+ Liberia: string;
127
+ Libya: string;
128
+ Liechtenstein: string;
129
+ Lithuania: string;
130
+ Luxembourg: string;
131
+ MacaoSAR: string;
132
+ Madagascar: string;
133
+ Malawi: string;
134
+ Malaysia: string;
135
+ Maldives: string;
136
+ Mali: string;
137
+ Malta: string;
138
+ MarshallIslands: string;
139
+ Martinique: string;
140
+ Mauritania: string;
141
+ Mauritius: string;
142
+ Mayotte: string;
143
+ Mexico: string;
144
+ Micronesia: string;
145
+ Moldova: string;
146
+ Monaco: string;
147
+ Mongolia: string;
148
+ Montenegro: string;
149
+ Montserrat: string;
150
+ Morocco: string;
151
+ Mozambique: string;
152
+ Myanmar: string;
153
+ Namibia: string;
154
+ Nauru: string;
155
+ Nepal: string;
156
+ Netherlands: string;
157
+ NewCaledonia: string;
158
+ NewZealand: string;
159
+ Nicaragua: string;
160
+ Niger: string;
161
+ Nigeria: string;
162
+ Niue: string;
163
+ NorfolkIsland: string;
164
+ NorthKorea: string;
165
+ NorthMacedonia: string;
166
+ NorthernMarianaIslands: string;
167
+ Norway: string;
168
+ Oman: string;
169
+ Pakistan: string;
170
+ Palau: string;
171
+ PalestinianAuthority: string;
172
+ Panama: string;
173
+ PapuaNewGuinea: string;
174
+ Paraguay: string;
175
+ Peru: string;
176
+ Philippines: string;
177
+ PitcairnIslands: string;
178
+ Poland: string;
179
+ Portugal: string;
180
+ PuertoRico: string;
181
+ Qatar: string;
182
+ Reunion: string;
183
+ Romania: string;
184
+ Russia: string;
185
+ Rwanda: string;
186
+ Samoa: string;
187
+ SanMarino: string;
188
+ SaoTomeandPrincipe: string;
189
+ SaudiArabia: string;
190
+ Senegal: string;
191
+ Serbia: string;
192
+ Seychelles: string;
193
+ SierraLeone: string;
194
+ Singapore: string;
195
+ SintMaarten: string;
196
+ Slovakia: string;
197
+ Slovenia: string;
198
+ SolomonIslands: string;
199
+ Somalia: string;
200
+ SouthAfrica: string;
201
+ SouthSudan: string;
202
+ Spain: string;
203
+ SriLanka: string;
204
+ StHelenaAscensionTristandaCunha: string;
205
+ StBarthelemy: string;
206
+ StKittsandNevis: string;
207
+ StLucia: string;
208
+ StMartin: string;
209
+ StPierreandMiquelon: string;
210
+ StVincentandtheGrenadines: string;
211
+ Sudan: string;
212
+ Suriname: string;
213
+ SvalbardandJanMayen: string;
214
+ Sweden: string;
215
+ Switzerland: string;
216
+ Syria: string;
217
+ Taiwan: string;
218
+ Tajikistan: string;
219
+ Tanzania: string;
220
+ Thailand: string;
221
+ TimorLeste: string;
222
+ Togo: string;
223
+ Tokelau: string;
224
+ Tonga: string;
225
+ TrinidadandTobago: string;
226
+ Tunisia: string;
227
+ Turkey: string;
228
+ Turkmenistan: string;
229
+ TurksandCaicosIslands: string;
230
+ Tuvalu: string;
231
+ USOutlyingIslands: string;
232
+ USVirginIslands: string;
233
+ Uganda: string;
234
+ Ukraine: string;
235
+ UnitedArabEmirates: string;
236
+ UnitedKingdom: string;
237
+ UnitedStates: string;
238
+ Uruguay: string;
239
+ Uzbekistan: string;
240
+ Vanuatu: string;
241
+ VaticanCity: string;
242
+ Venezuela: string;
243
+ Vietnam: string;
244
+ WallisandFutuna: string;
245
+ World: string;
246
+ Yemen: string;
247
+ Zambia: string;
248
+ Zimbabwe: string;
249
+ };
@@ -0,0 +1,252 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TwoLetterISORegionCode = void 0;
4
+ exports.TwoLetterISORegionCode = {
5
+ Afghanistan: "AF",
6
+ AlandIslands: "AX",
7
+ Albania: "AL",
8
+ Algeria: "DZ",
9
+ AmericanSamoa: "AS",
10
+ Andorra: "AD",
11
+ Angola: "AO",
12
+ Anguilla: "AI",
13
+ AntiguaandBarbuda: "AG",
14
+ Argentina: "AR",
15
+ Armenia: "AM",
16
+ Aruba: "AW",
17
+ Australia: "AU",
18
+ Austria: "AT",
19
+ Azerbaijan: "AZ",
20
+ Bahamas: "BS",
21
+ Bahrain: "BH",
22
+ Bangladesh: "BD",
23
+ Barbados: "BB",
24
+ Belarus: "BY",
25
+ Belgium: "BE",
26
+ Belize: "BZ",
27
+ Benin: "BJ",
28
+ Bermuda: "BM",
29
+ Bhutan: "BT",
30
+ Bolivia: "BO",
31
+ BonaireSintEustatiusandSaba: "BQ",
32
+ BosniaandHerzegovina: "BA",
33
+ Botswana: "BW",
34
+ Brazil: "BR",
35
+ BritishIndianOceanTerritory: "IO",
36
+ BritishVirginIslands: "VG",
37
+ Brunei: "BN",
38
+ Bulgaria: "BG",
39
+ BurkinaFaso: "BF",
40
+ Burundi: "BI",
41
+ CaboVerde: "CV",
42
+ Cambodia: "KH",
43
+ Cameroon: "CM",
44
+ Canada: "CA",
45
+ CaymanIslands: "KY",
46
+ CentralAfricanRepublic: "CF",
47
+ Chad: "TD",
48
+ Chile: "CL",
49
+ China: "CN",
50
+ ChristmasIsland: "CX",
51
+ Cocos_Keeling_Islands: "CC",
52
+ Colombia: "CO",
53
+ Comoros: "KM",
54
+ Congo: "CG",
55
+ Congo_DRC: "CD",
56
+ CookIslands: "CK",
57
+ CostaRica: "CR",
58
+ CotedIvoire: "CI",
59
+ Croatia: "HR",
60
+ Cuba: "CU",
61
+ Curacao: "CW",
62
+ Cyprus: "CY",
63
+ Czechia: "CZ",
64
+ Denmark: "DK",
65
+ Djibouti: "DJ",
66
+ Dominica: "DM",
67
+ DominicanRepublic: "DO",
68
+ Ecuador: "EC",
69
+ Egypt: "EG",
70
+ ElSalvador: "SV",
71
+ EquatorialGuinea: "GQ",
72
+ Eritrea: "ER",
73
+ Estonia: "EE",
74
+ Eswatini: "SZ",
75
+ Ethiopia: "ET",
76
+ Europe: "150",
77
+ FalklandIslands: "FK",
78
+ FaroeIslands: "FO",
79
+ Fiji: "FJ",
80
+ Finland: "FI",
81
+ France: "FR",
82
+ FrenchGuiana: "GF",
83
+ FrenchPolynesia: "PF",
84
+ Gabon: "GA",
85
+ Gambia: "GM",
86
+ Georgia: "GE",
87
+ Germany: "DE",
88
+ Ghana: "GH",
89
+ Gibraltar: "GI",
90
+ Greece: "GR",
91
+ Greenland: "GL",
92
+ Grenada: "GD",
93
+ Guadeloupe: "GP",
94
+ Guam: "GU",
95
+ Guatemala: "GT",
96
+ Guernsey: "GG",
97
+ Guinea: "GN",
98
+ GuineaBissau: "GW",
99
+ Guyana: "GY",
100
+ Haiti: "HT",
101
+ Honduras: "HN",
102
+ HongKongSAR: "HK",
103
+ Hungary: "HU",
104
+ Iceland: "IS",
105
+ India: "IN",
106
+ Indonesia: "ID",
107
+ Iran: "IR",
108
+ Iraq: "IQ",
109
+ Ireland: "IE",
110
+ IsleofMan: "IM",
111
+ Israel: "IL",
112
+ Italy: "IT",
113
+ Jamaica: "JM",
114
+ Japan: "JP",
115
+ Jersey: "JE",
116
+ Jordan: "JO",
117
+ Kazakhstan: "KZ",
118
+ Kenya: "KE",
119
+ Kiribati: "KI",
120
+ Korea: "KR",
121
+ Kosovo: "XK",
122
+ Kuwait: "KW",
123
+ Kyrgyzstan: "KG",
124
+ Laos: "LA",
125
+ LatinAmerica: "419",
126
+ Latvia: "LV",
127
+ Lebanon: "LB",
128
+ Lesotho: "LS",
129
+ Liberia: "LR",
130
+ Libya: "LY",
131
+ Liechtenstein: "LI",
132
+ Lithuania: "LT",
133
+ Luxembourg: "LU",
134
+ MacaoSAR: "MO",
135
+ Madagascar: "MG",
136
+ Malawi: "MW",
137
+ Malaysia: "MY",
138
+ Maldives: "MV",
139
+ Mali: "ML",
140
+ Malta: "MT",
141
+ MarshallIslands: "MH",
142
+ Martinique: "MQ",
143
+ Mauritania: "MR",
144
+ Mauritius: "MU",
145
+ Mayotte: "YT",
146
+ Mexico: "MX",
147
+ Micronesia: "FM",
148
+ Moldova: "MD",
149
+ Monaco: "MC",
150
+ Mongolia: "MN",
151
+ Montenegro: "ME",
152
+ Montserrat: "MS",
153
+ Morocco: "MA",
154
+ Mozambique: "MZ",
155
+ Myanmar: "MM",
156
+ Namibia: "NA",
157
+ Nauru: "NR",
158
+ Nepal: "NP",
159
+ Netherlands: "NL",
160
+ NewCaledonia: "NC",
161
+ NewZealand: "NZ",
162
+ Nicaragua: "NI",
163
+ Niger: "NE",
164
+ Nigeria: "NG",
165
+ Niue: "NU",
166
+ NorfolkIsland: "NF",
167
+ NorthKorea: "KP",
168
+ NorthMacedonia: "MK",
169
+ NorthernMarianaIslands: "MP",
170
+ Norway: "NO",
171
+ Oman: "OM",
172
+ Pakistan: "PK",
173
+ Palau: "PW",
174
+ PalestinianAuthority: "PS",
175
+ Panama: "PA",
176
+ PapuaNewGuinea: "PG",
177
+ Paraguay: "PY",
178
+ Peru: "PE",
179
+ Philippines: "PH",
180
+ PitcairnIslands: "PN",
181
+ Poland: "PL",
182
+ Portugal: "PT",
183
+ PuertoRico: "PR",
184
+ Qatar: "QA",
185
+ Reunion: "RE",
186
+ Romania: "RO",
187
+ Russia: "RU",
188
+ Rwanda: "RW",
189
+ Samoa: "WS",
190
+ SanMarino: "SM",
191
+ SaoTomeandPrincipe: "ST",
192
+ SaudiArabia: "SA",
193
+ Senegal: "SN",
194
+ Serbia: "RS",
195
+ Seychelles: "SC",
196
+ SierraLeone: "SL",
197
+ Singapore: "SG",
198
+ SintMaarten: "SX",
199
+ Slovakia: "SK",
200
+ Slovenia: "SI",
201
+ SolomonIslands: "SB",
202
+ Somalia: "SO",
203
+ SouthAfrica: "ZA",
204
+ SouthSudan: "SS",
205
+ Spain: "ES",
206
+ SriLanka: "LK",
207
+ StHelenaAscensionTristandaCunha: "SH",
208
+ StBarthelemy: "BL",
209
+ StKittsandNevis: "KN",
210
+ StLucia: "LC",
211
+ StMartin: "MF",
212
+ StPierreandMiquelon: "PM",
213
+ StVincentandtheGrenadines: "VC",
214
+ Sudan: "SD",
215
+ Suriname: "SR",
216
+ SvalbardandJanMayen: "SJ",
217
+ Sweden: "SE",
218
+ Switzerland: "CH",
219
+ Syria: "SY",
220
+ Taiwan: "TW",
221
+ Tajikistan: "TJ",
222
+ Tanzania: "TZ",
223
+ Thailand: "TH",
224
+ TimorLeste: "TL",
225
+ Togo: "TG",
226
+ Tokelau: "TK",
227
+ Tonga: "TO",
228
+ TrinidadandTobago: "TT",
229
+ Tunisia: "TN",
230
+ Turkey: "TR",
231
+ Turkmenistan: "TM",
232
+ TurksandCaicosIslands: "TC",
233
+ Tuvalu: "TV",
234
+ USOutlyingIslands: "UM",
235
+ USVirginIslands: "VI",
236
+ Uganda: "UG",
237
+ Ukraine: "UA",
238
+ UnitedArabEmirates: "AE",
239
+ UnitedKingdom: "GB",
240
+ UnitedStates: "US",
241
+ Uruguay: "UY",
242
+ Uzbekistan: "UZ",
243
+ Vanuatu: "VU",
244
+ VaticanCity: "VA",
245
+ Venezuela: "VE",
246
+ Vietnam: "VN",
247
+ WallisandFutuna: "WF",
248
+ World: "001",
249
+ Yemen: "YE",
250
+ Zambia: "ZM",
251
+ Zimbabwe: "ZW",
252
+ };
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "country-codes-library",
3
+ "version": "1.0.0",
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
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/mohansenthil/countrycodes-node.git"
16
+ },
17
+ "author": "mohan raj senthilnathan",
18
+ "license": "ISC",
19
+ "bugs": {
20
+ "url": "https://github.com/mohansenthil/countrycodes-node/issues"
21
+ },
22
+ "homepage": "https://github.com/mohansenthil/countrycodes-node#readme",
23
+ "devDependencies": {
24
+ "typescript": "^5.6.2"
25
+ },
26
+ "publishConfig": {
27
+ "registry": "https://registry.npmjs.org"
28
+ }
29
+ }