@visulima/iso-locale 0.0.1 → 1.0.0-alpha.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.
- package/CHANGELOG.md +12 -0
- package/LICENSE.md +27 -0
- package/README.md +163 -29
- package/dist/countries.d.ts +116 -0
- package/dist/countries.js +1 -0
- package/dist/currencies.d.ts +67 -0
- package/dist/currencies.js +1 -0
- package/dist/data/countries.d.ts +2853 -0
- package/dist/data/currencies.d.ts +937 -0
- package/dist/data/currency-symbol.d.ts +7 -0
- package/dist/data/iso-639-mapping.d.ts +12 -0
- package/dist/data/regions.d.ts +7 -0
- package/dist/data/timezones.d.ts +6 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -0
- package/dist/locale.d.ts +43 -0
- package/dist/locale.js +1 -0
- package/dist/packem_shared/iso6393To6391-r9ptGdfI.js +1 -0
- package/dist/regions.d.ts +47 -0
- package/dist/regions.js +1 -0
- package/dist/timezones.d.ts +38 -0
- package/dist/timezones.js +1 -0
- package/dist/types.d.ts +60 -0
- package/dist/types.js +0 -0
- package/package.json +154 -8
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
## @visulima/iso-locale 1.0.0-alpha.1 (2026-01-17)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* add new exports for countries, currencies, regions, timezones, and types in iso-locale package ([acb2104](https://github.com/visulima/visulima/commit/acb210457cd57160cadd49b84a22c1098ada70eb))
|
|
6
|
+
* create new iso-locale package ([#584](https://github.com/visulima/visulima/issues/584)) ([3436f36](https://github.com/visulima/visulima/commit/3436f36aa96636c08f74df1a4eed28a6a29881fb))
|
|
7
|
+
* update imports and add new data files for countries, currencies, regions, and timezones in iso-locale package ([639dd6e](https://github.com/visulima/visulima/commit/639dd6ee41ac89a21539f8eac17f1db298bce5ee))
|
|
8
|
+
|
|
9
|
+
### Code Refactoring
|
|
10
|
+
|
|
11
|
+
* streamline installation instructions and enhance data structure for countries, currencies, and regions in iso-locale package ([17b9e20](https://github.com/visulima/visulima/commit/17b9e201fef738ff80c6439da4998c4d1da7fbd3))
|
|
12
|
+
* update ESLint configuration, improve data handling in regions and timezones, and enhance currency data structure in iso-locale package ([229680d](https://github.com/visulima/visulima/commit/229680d0ecd6b422b594893b8f13e3de504d5475))
|
package/LICENSE.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 visulima
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
<!-- DEPENDENCIES -->
|
|
24
|
+
<!-- /DEPENDENCIES -->
|
|
25
|
+
|
|
26
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
27
|
+
<!-- /TYPE_DEPENDENCIES -->
|
package/README.md
CHANGED
|
@@ -1,45 +1,179 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER --><!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<br />
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<div align="center">
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[![typescript-image][typescript-badge]][typescript-url]
|
|
8
|
+
[![mit licence][license-badge]][license]
|
|
9
|
+
[![npm downloads][npm-downloads-badge]][npm-downloads]
|
|
10
|
+
[![Chat][chat-badge]][chat]
|
|
11
|
+
[![PRs Welcome][prs-welcome-badge]][prs-welcome]
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
</div>
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
1. Configure OIDC trusted publishing for the package name `@visulima/iso-locale`
|
|
13
|
-
2. Enable secure, token-less publishing from CI/CD workflows
|
|
14
|
-
3. Establish provenance for packages published under this name
|
|
15
|
+
---
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
<div align="center">
|
|
18
|
+
<p>
|
|
19
|
+
<sup>
|
|
20
|
+
Daniel Bannert's open source work is supported by the community on <a href="https://github.com/sponsors/prisis">GitHub Sponsors</a>
|
|
21
|
+
</sup>
|
|
22
|
+
</p>
|
|
23
|
+
</div>
|
|
17
24
|
|
|
18
|
-
|
|
25
|
+
---
|
|
19
26
|
|
|
20
|
-
##
|
|
27
|
+
## Install
|
|
21
28
|
|
|
22
|
-
|
|
29
|
+
```sh
|
|
30
|
+
npm install @visulima/iso-locale
|
|
31
|
+
```
|
|
23
32
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
4. Use the configured workflow to publish your actual package
|
|
33
|
+
```sh
|
|
34
|
+
yarn add @visulima/iso-locale
|
|
35
|
+
```
|
|
28
36
|
|
|
29
|
-
|
|
37
|
+
```sh
|
|
38
|
+
pnpm add @visulima/iso-locale
|
|
39
|
+
```
|
|
30
40
|
|
|
31
|
-
|
|
32
|
-
- Contains no executable code
|
|
33
|
-
- Provides no functionality
|
|
34
|
-
- Should not be installed as a dependency
|
|
35
|
-
- Exists only for administrative purposes
|
|
41
|
+
## Usage
|
|
36
42
|
|
|
37
|
-
|
|
43
|
+
### Countries
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- [GitHub Actions OIDC Documentation](https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect)
|
|
45
|
+
```typescript
|
|
46
|
+
import { getByAlpha2, getCountryByName, getEmoji, getCallingCode, getLanguages } from "@visulima/iso-locale";
|
|
42
47
|
|
|
43
|
-
|
|
48
|
+
// Get country by code
|
|
49
|
+
const country = getByAlpha2("US");
|
|
50
|
+
console.log(country.name); // "United States"
|
|
51
|
+
|
|
52
|
+
// Get country by name
|
|
53
|
+
const country2 = getCountryByName("United States");
|
|
54
|
+
|
|
55
|
+
// Get flag emoji
|
|
56
|
+
console.log(getEmoji("US")); // "🇺🇸"
|
|
57
|
+
|
|
58
|
+
// Get calling code
|
|
59
|
+
console.log(getCallingCode("US")); // "+1"
|
|
60
|
+
|
|
61
|
+
// Get languages
|
|
62
|
+
console.log(getLanguages("US")); // ["eng"]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Currencies
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
import { getByCode, getSymbol, getByCountry, getCountriesByCurrency } from "@visulima/iso-locale";
|
|
69
|
+
|
|
70
|
+
// Get currency by code
|
|
71
|
+
const currency = getByCode("USD");
|
|
72
|
+
console.log(currency.name); // "United States dollar"
|
|
73
|
+
console.log(currency.symbol); // "$"
|
|
74
|
+
|
|
75
|
+
// Get currency symbol
|
|
76
|
+
console.log(getSymbol("USD")); // "$"
|
|
77
|
+
|
|
78
|
+
// Get currencies for a country
|
|
79
|
+
const currencies = getByCountry("US");
|
|
80
|
+
console.log(currencies[0].code); // "USD"
|
|
81
|
+
|
|
82
|
+
// Get countries using a currency
|
|
83
|
+
const countries = getCountriesByCurrency("EUR");
|
|
84
|
+
console.log(countries); // ["FR", "DE", "ES", ...]
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Regions
|
|
88
|
+
|
|
89
|
+
```typescript
|
|
90
|
+
import { getRegionsForCountry, getCountriesInContinent, getCountriesInSubregion } from "@visulima/iso-locale";
|
|
91
|
+
|
|
92
|
+
// Get region for a country
|
|
93
|
+
const region = getRegionsForCountry("US");
|
|
94
|
+
console.log(region.continent); // "Americas"
|
|
95
|
+
console.log(region.subregion); // "Northern America"
|
|
96
|
+
|
|
97
|
+
// Get countries in a continent
|
|
98
|
+
const africanCountries = getCountriesInContinent("Africa");
|
|
99
|
+
|
|
100
|
+
// Get countries in a subregion
|
|
101
|
+
const westernEurope = getCountriesInSubregion("Western Europe");
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Timezones
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
import { getTimezonesByCountry, getPrimaryTimezone, getCountriesForTimezone } from "@visulima/iso-locale";
|
|
108
|
+
|
|
109
|
+
// Get timezones for a country
|
|
110
|
+
const timezones = getTimezonesByCountry("US");
|
|
111
|
+
console.log(timezones);
|
|
112
|
+
// ["America/New_York", "America/Los_Angeles", ...]
|
|
113
|
+
|
|
114
|
+
// Get primary timezone
|
|
115
|
+
console.log(getPrimaryTimezone("GB")); // "Europe/London"
|
|
116
|
+
|
|
117
|
+
// Get countries using a timezone
|
|
118
|
+
const countries = getCountriesForTimezone("Europe/London");
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Locale & BCP 47
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
import { getCurrency, getBCP47Tags, parseBCP47Tag, generateBCP47Tag } from "@visulima/iso-locale";
|
|
125
|
+
|
|
126
|
+
// Get currency from locale
|
|
127
|
+
console.log(getCurrency("en-US")); // "USD"
|
|
128
|
+
console.log(getCurrency("pt-BR")); // "BRL"
|
|
129
|
+
|
|
130
|
+
// Get BCP 47 tags for a country
|
|
131
|
+
console.log(getBCP47Tags("CA")); // ["en-CA", "fr-CA"]
|
|
132
|
+
|
|
133
|
+
// Parse BCP 47 tag
|
|
134
|
+
const parsed = parseBCP47Tag("zh-Hant-TW");
|
|
135
|
+
console.log(parsed);
|
|
136
|
+
// { language: "zh", script: "Hant", country: "TW" }
|
|
137
|
+
|
|
138
|
+
// Generate BCP 47 tag
|
|
139
|
+
console.log(generateBCP47Tag("en", "US")); // "en-US"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
## Related
|
|
143
|
+
|
|
144
|
+
## Supported Node.js Versions
|
|
145
|
+
|
|
146
|
+
Libraries in this ecosystem make the best effort to track [Node.js’ release schedule](https://github.com/nodejs/release#release-schedule).
|
|
147
|
+
Here’s [a post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
|
|
148
|
+
|
|
149
|
+
## Contributing
|
|
150
|
+
|
|
151
|
+
If you would like to help take a look at the [list of issues](https://github.com/visulima/visulima/issues) and check our [Contributing](https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md) guidelines.
|
|
152
|
+
|
|
153
|
+
> **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
|
|
154
|
+
|
|
155
|
+
## Credits
|
|
156
|
+
|
|
157
|
+
- [Daniel Bannert](https://github.com/prisis)
|
|
158
|
+
- [All Contributors](https://github.com/visulima/visulima/graphs/contributors)
|
|
159
|
+
|
|
160
|
+
## Made with ❤️ at Anolilab
|
|
161
|
+
|
|
162
|
+
This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
|
|
163
|
+
|
|
164
|
+
## License
|
|
165
|
+
|
|
166
|
+
The visulima iso-locale is open-sourced software licensed under the [MIT][license]
|
|
167
|
+
|
|
168
|
+
<!-- badges -->
|
|
44
169
|
|
|
45
|
-
|
|
170
|
+
[license-badge]: https://img.shields.io/npm/l/@visulima/iso-locale?style=for-the-badge
|
|
171
|
+
[license]: https://github.com/visulima/visulima/blob/main/LICENSE
|
|
172
|
+
[npm-downloads-badge]: https://img.shields.io/npm/dm/@visulima/iso-locale?style=for-the-badge
|
|
173
|
+
[npm-downloads]: https://www.npmjs.com/package/@visulima/iso-locale
|
|
174
|
+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
|
|
175
|
+
[prs-welcome]: https://github.com/visulima/visulima/blob/main/.github/CONTRIBUTING.md
|
|
176
|
+
[chat-badge]: https://img.shields.io/discord/932323359193186354.svg?style=for-the-badge
|
|
177
|
+
[chat]: https://discord.gg/TtFJY8xkFK
|
|
178
|
+
[typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
179
|
+
[typescript-url]: https://www.typescriptlang.org/
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { Country } from "./types.d.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Get country by ISO 3166-1 alpha-2 code.
|
|
4
|
+
* @param code 2-letter country code (e.g., "US")
|
|
5
|
+
* @returns Country object or undefined
|
|
6
|
+
*/
|
|
7
|
+
export declare const getByAlpha2: (code: string) => Country | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Get country by ISO 3166-1 alpha-3 code.
|
|
10
|
+
* @param code 3-letter country code (e.g., "USA")
|
|
11
|
+
* @returns Country object or undefined
|
|
12
|
+
*/
|
|
13
|
+
export declare const getByAlpha3: (code: string) => Country | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Get country by ISO 3166-1 numeric code.
|
|
16
|
+
* @param code 3-digit numeric code (e.g., "840")
|
|
17
|
+
* @returns Country object or undefined
|
|
18
|
+
*/
|
|
19
|
+
export declare const getByNumeric: (code: string | number) => Country | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Convert alpha-2 code to alpha-3 code.
|
|
22
|
+
* @param alpha2 2-letter country code
|
|
23
|
+
* @returns 3-letter country code or undefined
|
|
24
|
+
*/
|
|
25
|
+
export declare const alpha2ToAlpha3: (alpha2: string) => string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Convert alpha-3 code to alpha-2 code.
|
|
28
|
+
* @param alpha3 3-letter country code
|
|
29
|
+
* @returns 2-letter country code or undefined
|
|
30
|
+
*/
|
|
31
|
+
export declare const alpha3ToAlpha2: (alpha3: string) => string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Convert alpha-2 code to numeric code.
|
|
34
|
+
* @param alpha2 2-letter country code
|
|
35
|
+
* @returns 3-digit numeric code or undefined
|
|
36
|
+
*/
|
|
37
|
+
export declare const alpha2ToNumeric: (alpha2: string) => string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Convert alpha-3 code to numeric code.
|
|
40
|
+
* @param alpha3 3-letter country code
|
|
41
|
+
* @returns 3-digit numeric code or undefined
|
|
42
|
+
*/
|
|
43
|
+
export declare const alpha3ToNumeric: (alpha3: string) => string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Convert numeric code to alpha-2 code.
|
|
46
|
+
* @param numeric 3-digit numeric code
|
|
47
|
+
* @returns 2-letter country code or undefined
|
|
48
|
+
*/
|
|
49
|
+
export declare const numericToAlpha2: (numeric: string | number) => string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Convert numeric code to alpha-3 code.
|
|
52
|
+
* @param numeric 3-digit numeric code
|
|
53
|
+
* @returns 3-letter country code or undefined
|
|
54
|
+
*/
|
|
55
|
+
export declare const numericToAlpha3: (numeric: string | number) => string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Check if a country code is valid (supports alpha-2, alpha-3, or numeric).
|
|
58
|
+
* @param code Country code in any format
|
|
59
|
+
* @returns true if valid, false otherwise
|
|
60
|
+
*/
|
|
61
|
+
export declare const isValid: (code: string | number) => boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Countries indexed by alpha-2 code.
|
|
64
|
+
*/
|
|
65
|
+
export declare const byAlpha2: Readonly<Record<string, Country>>;
|
|
66
|
+
/**
|
|
67
|
+
* Countries indexed by alpha-3 code.
|
|
68
|
+
*/
|
|
69
|
+
export declare const byAlpha3: Readonly<Record<string, Country>>;
|
|
70
|
+
/**
|
|
71
|
+
* Countries indexed by numeric code.
|
|
72
|
+
*/
|
|
73
|
+
export declare const byNumeric: Readonly<Record<string, Country>>;
|
|
74
|
+
/**
|
|
75
|
+
* Get flag emoji for a country.
|
|
76
|
+
* @param countryCode ISO 3166-1 alpha-2, alpha-3, or numeric code
|
|
77
|
+
* @returns Flag emoji or undefined
|
|
78
|
+
*/
|
|
79
|
+
export declare const getEmoji: (countryCode: string | number) => string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Get country calling code (phone prefix) for a country.
|
|
82
|
+
* @param countryCode ISO 3166-1 alpha-2, alpha-3, or numeric code
|
|
83
|
+
* @returns First calling code or undefined
|
|
84
|
+
*/
|
|
85
|
+
export declare const getCallingCode: (countryCode: string | number) => string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Get all calling codes for a country.
|
|
88
|
+
* @param countryCode ISO 3166-1 alpha-2, alpha-3, or numeric code
|
|
89
|
+
* @returns Array of calling codes or empty array
|
|
90
|
+
*/
|
|
91
|
+
export declare const getCallingCodes: (countryCode: string | number) => string[];
|
|
92
|
+
/**
|
|
93
|
+
* Get languages for a country.
|
|
94
|
+
* @param countryCode ISO 3166-1 alpha-2, alpha-3, or numeric code
|
|
95
|
+
* @returns Array of ISO 639 language codes or empty array
|
|
96
|
+
*/
|
|
97
|
+
export declare const getLanguages: (countryCode: string | number) => string[];
|
|
98
|
+
/**
|
|
99
|
+
* Get International Olympic Committee code for a country.
|
|
100
|
+
* @param countryCode ISO 3166-1 alpha-2, alpha-3, or numeric code
|
|
101
|
+
* @returns IOC code or undefined
|
|
102
|
+
*/
|
|
103
|
+
export declare const getIOC: (countryCode: string | number) => string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* Get country by name (exact match, case-insensitive).
|
|
106
|
+
* @param name Country name (e.g., "United States")
|
|
107
|
+
* @returns Country object or undefined
|
|
108
|
+
*/
|
|
109
|
+
export declare const getCountryByName: (name: string) => Country | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Search countries by name (partial match, case-insensitive).
|
|
112
|
+
* @param query Search query (e.g., "united")
|
|
113
|
+
* @returns Array of matching Country objects
|
|
114
|
+
*/
|
|
115
|
+
export declare const searchCountries: (query: string) => Country[];
|
|
116
|
+
export declare const all: Country[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var C=Object.defineProperty;var t=(a,e)=>C(a,"name",{value:e,configurable:!0});const d=[{alpha2:"AC",alpha3:"ASC",countryCallingCodes:["+247"],currencies:["USD"],emoji:"🇦🇨",ioc:"SHP",languages:["eng"],name:"Ascension Island",status:"reserved"},{alpha2:"AD",alpha3:"AND",countryCallingCodes:["+376"],currencies:["EUR"],emoji:"🇦🇩",ioc:"AND",languages:["cat"],name:"Andorra",status:"assigned"},{alpha2:"AE",alpha3:"ARE",countryCallingCodes:["+971"],currencies:["AED"],emoji:"🇦🇪",ioc:"UAE",languages:["ara"],name:"United Arab Emirates",status:"assigned"},{alpha2:"AF",alpha3:"AFG",countryCallingCodes:["+93"],currencies:["AFN"],emoji:"🇦🇫",ioc:"AFG",languages:["pus"],name:"Afghanistan",status:"assigned"},{alpha2:"AG",alpha3:"ATG",countryCallingCodes:["+1 268"],currencies:["XCD"],emoji:"🇦🇬",ioc:"ANT",languages:["eng"],name:"Antigua And Barbuda",status:"assigned"},{alpha2:"AI",alpha3:"AIA",countryCallingCodes:["+1 264"],currencies:["XCD"],emoji:"🇦🇮",ioc:"",languages:["eng"],name:"Anguilla",status:"assigned"},{alpha2:"AI",alpha3:"AFI",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"French Afar and Issas",status:"deleted"},{alpha2:"AL",alpha3:"ALB",countryCallingCodes:["+355"],currencies:["ALL"],emoji:"🇦🇱",ioc:"ALB",languages:["sqi"],name:"Albania",status:"assigned"},{alpha2:"AM",alpha3:"ARM",countryCallingCodes:["+374"],currencies:["AMD"],emoji:"🇦🇲",ioc:"ARM",languages:["hye","rus"],name:"Armenia",status:"assigned"},{alpha2:"AN",alpha3:"ANT",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Netherlands Antilles",status:"deleted"},{alpha2:"AO",alpha3:"AGO",countryCallingCodes:["+244"],currencies:["AOA"],emoji:"🇦🇴",ioc:"ANG",languages:["por"],name:"Angola",status:"assigned"},{alpha2:"AQ",alpha3:"ATA",countryCallingCodes:["+672"],currencies:[],emoji:"🇦🇶",ioc:"",languages:[],name:"Antarctica",status:"assigned"},{alpha2:"AR",alpha3:"ARG",countryCallingCodes:["+54"],currencies:["ARS"],emoji:"🇦🇷",ioc:"ARG",languages:["spa"],name:"Argentina",status:"assigned"},{alpha2:"AS",alpha3:"ASM",countryCallingCodes:["+1 684"],currencies:["USD"],emoji:"🇦🇸",ioc:"ASA",languages:["eng","smo"],name:"American Samoa",status:"assigned"},{alpha2:"AT",alpha3:"AUT",countryCallingCodes:["+43"],currencies:["EUR"],emoji:"🇦🇹",ioc:"AUT",languages:["deu"],name:"Austria",status:"assigned"},{alpha2:"AU",alpha3:"AUS",countryCallingCodes:["+61"],currencies:["AUD"],emoji:"🇦🇺",ioc:"AUS",languages:["eng"],name:"Australia",status:"assigned"},{alpha2:"AW",alpha3:"ABW",countryCallingCodes:["+297"],currencies:["AWG"],emoji:"🇦🇼",ioc:"ARU",languages:["nld"],name:"Aruba",status:"assigned"},{alpha2:"AX",alpha3:"ALA",countryCallingCodes:["+358"],currencies:["EUR"],emoji:"🇦🇽",ioc:"",languages:["swe"],name:"Åland Islands",status:"assigned"},{alpha2:"AZ",alpha3:"AZE",countryCallingCodes:["+994"],currencies:["AZN"],emoji:"🇦🇿",ioc:"AZE",languages:["aze"],name:"Azerbaijan",status:"assigned"},{alpha2:"BA",alpha3:"BIH",countryCallingCodes:["+387"],currencies:["BAM"],emoji:"🇧🇦",ioc:"BIH",languages:["bos","cre","srp"],name:"Bosnia & Herzegovina",status:"assigned"},{alpha2:"BB",alpha3:"BRB",countryCallingCodes:["+1 246"],currencies:["BBD"],emoji:"🇧🇧",ioc:"BAR",languages:["eng"],name:"Barbados",status:"assigned"},{alpha2:"BD",alpha3:"BGD",countryCallingCodes:["+880"],currencies:["BDT"],emoji:"🇧🇩",ioc:"BAN",languages:["ben"],name:"Bangladesh",status:"assigned"},{alpha2:"BE",alpha3:"BEL",countryCallingCodes:["+32"],currencies:["EUR"],emoji:"🇧🇪",ioc:"BEL",languages:["nld","fra","deu"],name:"Belgium",status:"assigned"},{alpha2:"BF",alpha3:"BFA",countryCallingCodes:["+226"],currencies:["XOF"],emoji:"🇧🇫",ioc:"BUR",languages:["fra"],name:"Burkina Faso",status:"assigned"},{alpha2:"BG",alpha3:"BGR",countryCallingCodes:["+359"],currencies:["BGN"],emoji:"🇧🇬",ioc:"BUL",languages:["bul"],name:"Bulgaria",status:"assigned"},{alpha2:"BH",alpha3:"BHR",countryCallingCodes:["+973"],currencies:["BHD"],emoji:"🇧🇭",ioc:"BRN",languages:["ara"],name:"Bahrain",status:"assigned"},{alpha2:"BI",alpha3:"BDI",countryCallingCodes:["+257"],currencies:["BIF"],emoji:"🇧🇮",ioc:"BDI",languages:["fra"],name:"Burundi",status:"assigned"},{alpha2:"BJ",alpha3:"BEN",countryCallingCodes:["+229"],currencies:["XOF"],emoji:"🇧🇯",ioc:"BEN",languages:["fra"],name:"Benin",status:"assigned"},{alpha2:"BL",alpha3:"BLM",countryCallingCodes:["+590"],currencies:["EUR"],emoji:"🇧🇱",ioc:"",languages:["fra"],name:"Saint Barthélemy",status:"assigned"},{alpha2:"BM",alpha3:"BMU",countryCallingCodes:["+1 441"],currencies:["BMD"],emoji:"🇧🇲",ioc:"BER",languages:["eng"],name:"Bermuda",status:"assigned"},{alpha2:"BN",alpha3:"BRN",countryCallingCodes:["+673"],currencies:["BND"],emoji:"🇧🇳",ioc:"BRU",languages:["msa","eng"],name:"Brunei Darussalam",status:"assigned"},{alpha2:"BO",alpha3:"BOL",countryCallingCodes:["+591"],currencies:["BOB","BOV"],emoji:"🇧🇴",ioc:"BOL",languages:["spa","aym","que"],name:"Bolivia, Plurinational State Of",status:"assigned"},{alpha2:"BQ",alpha3:"BES",countryCallingCodes:["+599"],currencies:["USD"],emoji:"🇧🇶",ioc:"",languages:["nld"],name:"Bonaire, Sint Eustatius And Saba",status:"assigned"},{alpha2:"BQ",alpha3:"ATB",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"British Antarctic Territory",status:"deleted"},{alpha2:"BR",alpha3:"BRA",countryCallingCodes:["+55"],currencies:["BRL"],emoji:"🇧🇷",ioc:"BRA",languages:["por"],name:"Brazil",status:"assigned"},{alpha2:"BS",alpha3:"BHS",countryCallingCodes:["+1 242"],currencies:["BSD"],emoji:"🇧🇸",ioc:"BAH",languages:["eng"],name:"Bahamas",status:"assigned"},{alpha2:"BT",alpha3:"BTN",countryCallingCodes:["+975"],currencies:["INR","BTN"],emoji:"🇧🇹",ioc:"BHU",languages:["dzo"],name:"Bhutan",status:"assigned"},{alpha2:"BU",alpha3:"BUR",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Burma",status:"deleted"},{alpha2:"BV",alpha3:"BVT",countryCallingCodes:[],currencies:["NOK"],emoji:"🇧🇻",ioc:"",languages:[],name:"Bouvet Island",status:"assigned"},{alpha2:"BW",alpha3:"BWA",countryCallingCodes:["+267"],currencies:["BWP"],emoji:"🇧🇼",ioc:"BOT",languages:["eng","tsn"],name:"Botswana",status:"assigned"},{alpha2:"BY",alpha3:"BLR",countryCallingCodes:["+375"],currencies:["BYN"],emoji:"🇧🇾",ioc:"BLR",languages:["bel","rus"],name:"Belarus",status:"assigned"},{alpha2:"BY",alpha3:"BYS",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Byelorussian SSR",status:"deleted"},{alpha2:"BZ",alpha3:"BLZ",countryCallingCodes:["+501"],currencies:["BZD"],emoji:"🇧🇿",ioc:"BIZ",languages:["eng"],name:"Belize",status:"assigned"},{alpha2:"CA",alpha3:"CAN",countryCallingCodes:["+1"],currencies:["CAD"],emoji:"🇨🇦",ioc:"CAN",languages:["eng","fra"],name:"Canada",status:"assigned"},{alpha2:"CC",alpha3:"CCK",countryCallingCodes:["+61"],currencies:["AUD"],emoji:"🇨🇨",ioc:"",languages:["eng"],name:"Cocos (Keeling) Islands",status:"assigned"},{alpha2:"CD",alpha3:"COD",countryCallingCodes:["+243"],currencies:["CDF"],emoji:"🇨🇩",ioc:"COD",languages:["fra","lin","kon","swa"],name:"Democratic Republic Of Congo",status:"assigned"},{alpha2:"CF",alpha3:"CAF",countryCallingCodes:["+236"],currencies:["XAF"],emoji:"🇨🇫",ioc:"CAF",languages:["fra","sag"],name:"Central African Republic",status:"assigned"},{alpha2:"CG",alpha3:"COG",countryCallingCodes:["+242"],currencies:["XAF"],emoji:"🇨🇬",ioc:"CGO",languages:["fra","lin"],name:"Republic Of Congo",status:"assigned"},{alpha2:"CH",alpha3:"CHE",countryCallingCodes:["+41"],currencies:["CHF","CHE","CHW"],emoji:"🇨🇭",ioc:"SUI",languages:["deu","fra","ita","roh"],name:"Switzerland",status:"assigned"},{alpha2:"CI",alpha3:"CIV",countryCallingCodes:["+225"],currencies:["XOF"],emoji:"🇨🇮",ioc:"CIV",languages:["fra"],name:"Côte d'Ivoire",status:"assigned"},{alpha2:"CK",alpha3:"COK",countryCallingCodes:["+682"],currencies:["NZD"],emoji:"🇨🇰",ioc:"COK",languages:["eng","mri"],name:"Cook Islands",status:"assigned"},{alpha2:"CL",alpha3:"CHL",countryCallingCodes:["+56"],currencies:["CLP","CLF"],emoji:"🇨🇱",ioc:"CHI",languages:["spa"],name:"Chile",status:"assigned"},{alpha2:"CM",alpha3:"CMR",countryCallingCodes:["+237"],currencies:["XAF"],emoji:"🇨🇲",ioc:"CMR",languages:["eng","fra"],name:"Cameroon",status:"assigned"},{alpha2:"CN",alpha3:"CHN",countryCallingCodes:["+86"],currencies:["CNY"],emoji:"🇨🇳",ioc:"CHN",languages:["zho"],name:"China",status:"assigned"},{alpha2:"CO",alpha3:"COL",countryCallingCodes:["+57"],currencies:["COP","COU"],emoji:"🇨🇴",ioc:"COL",languages:["spa"],name:"Colombia",status:"assigned"},{alpha2:"CP",alpha3:"CPT",countryCallingCodes:[],currencies:["EUR"],emoji:"🇨🇵",ioc:"",languages:[],name:"Clipperton Island",status:"reserved"},{alpha2:"CR",alpha3:"CRI",countryCallingCodes:["+506"],currencies:["CRC"],emoji:"🇨🇷",ioc:"CRC",languages:["spa"],name:"Costa Rica",status:"assigned"},{alpha2:"CS",alpha3:"CSK",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Czechoslovakia",status:"deleted"},{alpha2:"CS",alpha3:"SCG",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Serbia and Montenegro",status:"deleted"},{alpha2:"CT",alpha3:"CTE",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Canton and Enderbury Islands",status:"deleted"},{alpha2:"CU",alpha3:"CUB",countryCallingCodes:["+53"],currencies:["CUP","CUC"],emoji:"🇨🇺",ioc:"CUB",languages:["spa"],name:"Cuba",status:"assigned"},{alpha2:"CV",alpha3:"CPV",countryCallingCodes:["+238"],currencies:["CVE"],emoji:"🇨🇻",ioc:"CPV",languages:["por"],name:"Cabo Verde",status:"assigned"},{alpha2:"CW",alpha3:"CUW",countryCallingCodes:["+599"],currencies:["XCG"],emoji:"🇨🇼",ioc:"",languages:["nld"],name:"Curacao",status:"assigned"},{alpha2:"CX",alpha3:"CXR",countryCallingCodes:["+61"],currencies:["AUD"],emoji:"🇨🇽",ioc:"",languages:["eng"],name:"Christmas Island",status:"assigned"},{alpha2:"CY",alpha3:"CYP",countryCallingCodes:["+357"],currencies:["EUR"],emoji:"🇨🇾",ioc:"CYP",languages:["ell","tur"],name:"Cyprus",status:"assigned"},{alpha2:"CZ",alpha3:"CZE",countryCallingCodes:["+420"],currencies:["CZK"],emoji:"🇨🇿",ioc:"CZE",languages:["ces"],name:"Czech Republic",status:"assigned"},{alpha2:"DD",alpha3:"DDR",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"German Democratic Republic",status:"deleted"},{alpha2:"DE",alpha3:"DEU",countryCallingCodes:["+49"],currencies:["EUR"],emoji:"🇩🇪",ioc:"GER",languages:["deu"],name:"Germany",status:"assigned"},{alpha2:"DG",alpha3:"DGA",countryCallingCodes:[],currencies:["USD"],emoji:"🇩🇬",ioc:"",languages:[],name:"Diego Garcia",status:"reserved"},{alpha2:"DJ",alpha3:"DJI",countryCallingCodes:["+253"],currencies:["DJF"],emoji:"🇩🇯",ioc:"DJI",languages:["ara","fra"],name:"Djibouti",status:"assigned"},{alpha2:"DK",alpha3:"DNK",countryCallingCodes:["+45"],currencies:["DKK"],emoji:"🇩🇰",ioc:"DEN",languages:["dan"],name:"Denmark",status:"assigned"},{alpha2:"DM",alpha3:"DMA",countryCallingCodes:["+1 767"],currencies:["XCD"],emoji:"🇩🇲",ioc:"DMA",languages:["eng"],name:"Dominica",status:"assigned"},{alpha2:"DO",alpha3:"DOM",countryCallingCodes:["+1 809","+1 829","+1 849"],currencies:["DOP"],emoji:"🇩🇴",ioc:"DOM",languages:["spa"],name:"Dominican Republic",status:"assigned"},{alpha2:"DY",alpha3:"DHY",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Dahomey",status:"deleted"},{alpha2:"DZ",alpha3:"DZA",countryCallingCodes:["+213"],currencies:["DZD"],emoji:"🇩🇿",ioc:"ALG",languages:["ara"],name:"Algeria",status:"assigned"},{alpha2:"EA",alpha3:"",countryCallingCodes:[],currencies:["EUR"],emoji:"🇪🇦",ioc:"",languages:[],name:"Ceuta, Mulilla",status:"reserved"},{alpha2:"EC",alpha3:"ECU",countryCallingCodes:["+593"],currencies:["USD"],emoji:"🇪🇨",ioc:"ECU",languages:["spa","que"],name:"Ecuador",status:"assigned"},{alpha2:"EE",alpha3:"EST",countryCallingCodes:["+372"],currencies:["EUR"],emoji:"🇪🇪",ioc:"EST",languages:["est"],name:"Estonia",status:"assigned"},{alpha2:"EG",alpha3:"EGY",countryCallingCodes:["+20"],currencies:["EGP"],emoji:"🇪🇬",ioc:"EGY",languages:["ara"],name:"Egypt",status:"assigned"},{alpha2:"EH",alpha3:"ESH",countryCallingCodes:["+212"],currencies:["MAD"],emoji:"🇪🇭",ioc:"",languages:[],name:"Western Sahara",status:"assigned"},{alpha2:"ER",alpha3:"ERI",countryCallingCodes:["+291"],currencies:["ERN"],emoji:"🇪🇷",ioc:"ERI",languages:["eng","ara","tir"],name:"Eritrea",status:"assigned"},{alpha2:"ES",alpha3:"ESP",countryCallingCodes:["+34"],currencies:["EUR"],emoji:"🇪🇸",ioc:"ESP",languages:["spa","cat","glg","eus"],name:"Spain",status:"assigned"},{alpha2:"ET",alpha3:"ETH",countryCallingCodes:["+251"],currencies:["ETB"],emoji:"🇪🇹",ioc:"ETH",languages:["amh"],name:"Ethiopia",status:"assigned"},{alpha2:"EU",alpha3:"EUE",countryCallingCodes:["+388"],currencies:["EUR"],emoji:"🇪🇺",ioc:"",languages:[],name:"European Union",status:"reserved"},{alpha2:"FI",alpha3:"FIN",countryCallingCodes:["+358"],currencies:["EUR"],emoji:"🇫🇮",ioc:"FIN",languages:["fin","swe"],name:"Finland",status:"assigned"},{alpha2:"FJ",alpha3:"FJI",countryCallingCodes:["+679"],currencies:["FJD"],emoji:"🇫🇯",ioc:"FIJ",languages:["eng","fij"],name:"Fiji",status:"assigned"},{alpha2:"FK",alpha3:"FLK",countryCallingCodes:["+500"],currencies:["FKP"],emoji:"🇫🇰",ioc:"",languages:["eng"],name:"Falkland Islands",status:"assigned"},{alpha2:"FM",alpha3:"FSM",countryCallingCodes:["+691"],currencies:["USD"],emoji:"🇫🇲",ioc:"FSM",languages:["eng"],name:"Micronesia, Federated States Of",status:"assigned"},{alpha2:"FO",alpha3:"FRO",countryCallingCodes:["+298"],currencies:["DKK"],emoji:"🇫🇴",ioc:"FAI",languages:["fao","dan"],name:"Faroe Islands",status:"assigned"},{alpha2:"FQ",alpha3:"ATF",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"French Southern and Antarctic Territories",status:"deleted"},{alpha2:"FR",alpha3:"FRA",countryCallingCodes:["+33"],currencies:["EUR"],emoji:"🇫🇷",ioc:"FRA",languages:["fra"],name:"France",status:"assigned"},{alpha2:"FX",alpha3:"FXX",countryCallingCodes:["+241"],currencies:["EUR"],emoji:"",ioc:"",languages:["fra"],name:"France, Metropolitan",status:"reserved"},{alpha2:"GA",alpha3:"GAB",countryCallingCodes:["+241"],currencies:["XAF"],emoji:"🇬🇦",ioc:"GAB",languages:["fra"],name:"Gabon",status:"assigned"},{alpha2:"GB",alpha3:"GBR",countryCallingCodes:["+44"],currencies:["GBP"],emoji:"🇬🇧",ioc:"GBR",languages:["eng","cor","gle","gla","cym"],name:"United Kingdom",status:"assigned"},{alpha2:"GD",alpha3:"GRD",countryCallingCodes:["+473"],currencies:["XCD"],emoji:"🇬🇩",ioc:"GRN",languages:["eng"],name:"Grenada",status:"assigned"},{alpha2:"GE",alpha3:"GEO",countryCallingCodes:["+995"],currencies:["GEL"],emoji:"🇬🇪",ioc:"GEO",languages:["kat"],name:"Georgia",status:"assigned"},{alpha2:"GE",alpha3:"GEL",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Gilbert and Ellice Islands",status:"deleted"},{alpha2:"GF",alpha3:"GUF",countryCallingCodes:["+594"],currencies:["EUR"],emoji:"🇬🇫",ioc:"",languages:["fra"],name:"French Guiana",status:"assigned"},{alpha2:"GG",alpha3:"GGY",countryCallingCodes:["+44"],currencies:["GBP"],emoji:"🇬🇬",ioc:"GCI",languages:["fra"],name:"Guernsey",status:"assigned"},{alpha2:"GH",alpha3:"GHA",countryCallingCodes:["+233"],currencies:["GHS"],emoji:"🇬🇭",ioc:"GHA",languages:["eng"],name:"Ghana",status:"assigned"},{alpha2:"GI",alpha3:"GIB",countryCallingCodes:["+350"],currencies:["GIP"],emoji:"🇬🇮",ioc:"",languages:["eng"],name:"Gibraltar",status:"assigned"},{alpha2:"GL",alpha3:"GRL",countryCallingCodes:["+299"],currencies:["DKK"],emoji:"🇬🇱",ioc:"",languages:["kal"],name:"Greenland",status:"assigned"},{alpha2:"GM",alpha3:"GMB",countryCallingCodes:["+220"],currencies:["GMD"],emoji:"🇬🇲",ioc:"GAM",languages:["eng"],name:"Gambia",status:"assigned"},{alpha2:"GN",alpha3:"GIN",countryCallingCodes:["+224"],currencies:["GNF"],emoji:"🇬🇳",ioc:"GUI",languages:["fra"],name:"Guinea",status:"assigned"},{alpha2:"GP",alpha3:"GLP",countryCallingCodes:["+590"],currencies:["EUR"],emoji:"🇬🇵",ioc:"",languages:["fra"],name:"Guadeloupe",status:"assigned"},{alpha2:"GQ",alpha3:"GNQ",countryCallingCodes:["+240"],currencies:["XAF"],emoji:"🇬🇶",ioc:"GEQ",languages:["spa","fra","por"],name:"Equatorial Guinea",status:"assigned"},{alpha2:"GR",alpha3:"GRC",countryCallingCodes:["+30"],currencies:["EUR"],emoji:"🇬🇷",ioc:"GRE",languages:["ell"],name:"Greece",status:"assigned"},{alpha2:"GS",alpha3:"SGS",countryCallingCodes:["+500"],currencies:["GBP"],emoji:"🇬🇸",ioc:"",languages:["eng"],name:"South Georgia And The South Sandwich Islands",status:"assigned"},{alpha2:"GT",alpha3:"GTM",countryCallingCodes:["+502"],currencies:["GTQ"],emoji:"🇬🇹",ioc:"GUA",languages:["spa"],name:"Guatemala",status:"assigned"},{alpha2:"GU",alpha3:"GUM",countryCallingCodes:["+1 671"],currencies:["USD"],emoji:"🇬🇺",ioc:"GUM",languages:["eng"],name:"Guam",status:"assigned"},{alpha2:"GW",alpha3:"GNB",countryCallingCodes:["+245"],currencies:["XOF"],emoji:"🇬🇼",ioc:"GBS",languages:["por"],name:"Guinea-bissau",status:"assigned"},{alpha2:"GY",alpha3:"GUY",countryCallingCodes:["+592"],currencies:["GYD"],emoji:"🇬🇾",ioc:"GUY",languages:["eng"],name:"Guyana",status:"assigned"},{alpha2:"HK",alpha3:"HKG",countryCallingCodes:["+852"],currencies:["HKD"],emoji:"🇭🇰",ioc:"HKG",languages:["zho","eng"],name:"Hong Kong",status:"assigned"},{alpha2:"HM",alpha3:"HMD",countryCallingCodes:[],currencies:["AUD"],emoji:"🇭🇲",ioc:"",languages:[],name:"Heard Island And McDonald Islands",status:"assigned"},{alpha2:"HN",alpha3:"HND",countryCallingCodes:["+504"],currencies:["HNL"],emoji:"🇭🇳",ioc:"HON",languages:["spa"],name:"Honduras",status:"assigned"},{alpha2:"HR",alpha3:"HRV",countryCallingCodes:["+385"],currencies:["EUR"],emoji:"🇭🇷",ioc:"CRO",languages:["hrv"],name:"Croatia",status:"assigned"},{alpha2:"HT",alpha3:"HTI",countryCallingCodes:["+509"],currencies:["HTG","USD"],emoji:"🇭🇹",ioc:"HAI",languages:["fra","hat"],name:"Haiti",status:"assigned"},{alpha2:"HU",alpha3:"HUN",countryCallingCodes:["+36"],currencies:["HUF"],emoji:"🇭🇺",ioc:"HUN",languages:["hun"],name:"Hungary",status:"assigned"},{alpha2:"HV",alpha3:"HVO",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Upper Volta",status:"deleted"},{alpha2:"IC",alpha3:"",countryCallingCodes:[],currencies:["EUR"],emoji:"🇮🇨",ioc:"",languages:[],name:"Canary Islands",status:"reserved"},{alpha2:"ID",alpha3:"IDN",countryCallingCodes:["+62"],currencies:["IDR"],emoji:"🇮🇩",ioc:"INA",languages:["ind"],name:"Indonesia",status:"assigned"},{alpha2:"IE",alpha3:"IRL",countryCallingCodes:["+353"],currencies:["EUR"],emoji:"🇮🇪",ioc:"IRL",languages:["eng","gle"],name:"Ireland",status:"assigned"},{alpha2:"IL",alpha3:"ISR",countryCallingCodes:["+972"],currencies:["ILS"],emoji:"🇮🇱",ioc:"ISR",languages:["heb","ara","eng"],name:"Israel",status:"assigned"},{alpha2:"IM",alpha3:"IMN",countryCallingCodes:["+44"],currencies:["GBP"],emoji:"🇮🇲",ioc:"",languages:["eng","glv"],name:"Isle Of Man",status:"assigned"},{alpha2:"IN",alpha3:"IND",countryCallingCodes:["+91"],currencies:["INR"],emoji:"🇮🇳",ioc:"IND",languages:["eng","hin"],name:"India",status:"assigned"},{alpha2:"IO",alpha3:"IOT",countryCallingCodes:["+246"],currencies:["USD"],emoji:"🇮🇴",ioc:"",languages:["eng"],name:"British Indian Ocean Territory",status:"assigned"},{alpha2:"IQ",alpha3:"IRQ",countryCallingCodes:["+964"],currencies:["IQD"],emoji:"🇮🇶",ioc:"IRQ",languages:["ara","kur"],name:"Iraq",status:"assigned"},{alpha2:"IR",alpha3:"IRN",countryCallingCodes:["+98"],currencies:["IRR"],emoji:"🇮🇷",ioc:"IRI",languages:["fas"],name:"Iran, Islamic Republic Of",status:"assigned"},{alpha2:"IS",alpha3:"ISL",countryCallingCodes:["+354"],currencies:["ISK"],emoji:"🇮🇸",ioc:"ISL",languages:["isl"],name:"Iceland",status:"assigned"},{alpha2:"IT",alpha3:"ITA",countryCallingCodes:["+39"],currencies:["EUR"],emoji:"🇮🇹",ioc:"ITA",languages:["ita"],name:"Italy",status:"assigned"},{alpha2:"JE",alpha3:"JEY",countryCallingCodes:["+44"],currencies:["GBP"],emoji:"🇯🇪",ioc:"JCI",languages:["eng","fra"],name:"Jersey",status:"assigned"},{alpha2:"JM",alpha3:"JAM",countryCallingCodes:["+1 876"],currencies:["JMD"],emoji:"🇯🇲",ioc:"JAM",languages:["eng"],name:"Jamaica",status:"assigned"},{alpha2:"JO",alpha3:"JOR",countryCallingCodes:["+962"],currencies:["JOD"],emoji:"🇯🇴",ioc:"JOR",languages:["ara"],name:"Jordan",status:"assigned"},{alpha2:"JP",alpha3:"JPN",countryCallingCodes:["+81"],currencies:["JPY"],emoji:"🇯🇵",ioc:"JPN",languages:["jpn"],name:"Japan",status:"assigned"},{alpha2:"JT",alpha3:"JTN",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Johnston Island",status:"deleted"},{alpha2:"KE",alpha3:"KEN",countryCallingCodes:["+254"],currencies:["KES"],emoji:"🇰🇪",ioc:"KEN",languages:["eng","swa"],name:"Kenya",status:"assigned"},{alpha2:"KG",alpha3:"KGZ",countryCallingCodes:["+996"],currencies:["KGS"],emoji:"🇰🇬",ioc:"KGZ",languages:["rus"],name:"Kyrgyzstan",status:"assigned"},{alpha2:"KH",alpha3:"KHM",countryCallingCodes:["+855"],currencies:["KHR"],emoji:"🇰🇭",ioc:"CAM",languages:["khm"],name:"Cambodia",status:"assigned"},{alpha2:"KI",alpha3:"KIR",countryCallingCodes:["+686"],currencies:["AUD"],emoji:"🇰🇮",ioc:"KIR",languages:["eng"],name:"Kiribati",status:"assigned"},{alpha2:"KM",alpha3:"COM",countryCallingCodes:["+269"],currencies:["KMF"],emoji:"🇰🇲",ioc:"COM",languages:["ara","fra"],name:"Comoros",status:"assigned"},{alpha2:"KN",alpha3:"KNA",countryCallingCodes:["+1 869"],currencies:["XCD"],emoji:"🇰🇳",ioc:"SKN",languages:["eng"],name:"Saint Kitts And Nevis",status:"assigned"},{alpha2:"KP",alpha3:"PRK",countryCallingCodes:["+850"],currencies:["KPW"],emoji:"🇰🇵",ioc:"PRK",languages:["kor"],name:"Korea, Democratic People's Republic Of",status:"assigned"},{alpha2:"KR",alpha3:"KOR",countryCallingCodes:["+82"],currencies:["KRW"],emoji:"🇰🇷",ioc:"KOR",languages:["kor"],name:"Korea, Republic Of",status:"assigned"},{alpha2:"KW",alpha3:"KWT",countryCallingCodes:["+965"],currencies:["KWD"],emoji:"🇰🇼",ioc:"KUW",languages:["ara"],name:"Kuwait",status:"assigned"},{alpha2:"KY",alpha3:"CYM",countryCallingCodes:["+1 345"],currencies:["KYD"],emoji:"🇰🇾",ioc:"CAY",languages:["eng"],name:"Cayman Islands",status:"assigned"},{alpha2:"KZ",alpha3:"KAZ",countryCallingCodes:["+7","+7 6","+7 7"],currencies:["KZT"],emoji:"🇰🇿",ioc:"KAZ",languages:["kaz","rus"],name:"Kazakhstan",status:"assigned"},{alpha2:"LA",alpha3:"LAO",countryCallingCodes:["+856"],currencies:["LAK"],emoji:"🇱🇦",ioc:"LAO",languages:["lao"],name:"Lao People's Democratic Republic",status:"assigned"},{alpha2:"LB",alpha3:"LBN",countryCallingCodes:["+961"],currencies:["LBP"],emoji:"🇱🇧",ioc:"LIB",languages:["ara","hye"],name:"Lebanon",status:"assigned"},{alpha2:"LC",alpha3:"LCA",countryCallingCodes:["+1 758"],currencies:["XCD"],emoji:"🇱🇨",ioc:"LCA",languages:["eng"],name:"Saint Lucia",status:"assigned"},{alpha2:"LI",alpha3:"LIE",countryCallingCodes:["+423"],currencies:["CHF"],emoji:"🇱🇮",ioc:"LIE",languages:["deu"],name:"Liechtenstein",status:"assigned"},{alpha2:"LK",alpha3:"LKA",countryCallingCodes:["+94"],currencies:["LKR"],emoji:"🇱🇰",ioc:"SRI",languages:["sin","tam"],name:"Sri Lanka",status:"assigned"},{alpha2:"LR",alpha3:"LBR",countryCallingCodes:["+231"],currencies:["LRD"],emoji:"🇱🇷",ioc:"LBR",languages:["eng"],name:"Liberia",status:"assigned"},{alpha2:"LS",alpha3:"LSO",countryCallingCodes:["+266"],currencies:["LSL","ZAR"],emoji:"🇱🇸",ioc:"LES",languages:["eng","sot"],name:"Lesotho",status:"assigned"},{alpha2:"LT",alpha3:"LTU",countryCallingCodes:["+370"],currencies:["EUR"],emoji:"🇱🇹",ioc:"LTU",languages:["lit"],name:"Lithuania",status:"assigned"},{alpha2:"LU",alpha3:"LUX",countryCallingCodes:["+352"],currencies:["EUR"],emoji:"🇱🇺",ioc:"LUX",languages:["fra","deu","ltz"],name:"Luxembourg",status:"assigned"},{alpha2:"LV",alpha3:"LVA",countryCallingCodes:["+371"],currencies:["EUR"],emoji:"🇱🇻",ioc:"LAT",languages:["lav"],name:"Latvia",status:"assigned"},{alpha2:"LY",alpha3:"LBY",countryCallingCodes:["+218"],currencies:["LYD"],emoji:"🇱🇾",ioc:"LBA",languages:["ara"],name:"Libya",status:"assigned"},{alpha2:"MA",alpha3:"MAR",countryCallingCodes:["+212"],currencies:["MAD"],emoji:"🇲🇦",ioc:"MAR",languages:["ara"],name:"Morocco",status:"assigned"},{alpha2:"MC",alpha3:"MCO",countryCallingCodes:["+377"],currencies:["EUR"],emoji:"🇲🇨",ioc:"MON",languages:["fra"],name:"Monaco",status:"assigned"},{alpha2:"MD",alpha3:"MDA",countryCallingCodes:["+373"],currencies:["MDL"],emoji:"🇲🇩",ioc:"MDA",languages:["ron"],name:"Moldova",status:"assigned"},{alpha2:"ME",alpha3:"MNE",countryCallingCodes:["+382"],currencies:["EUR"],emoji:"🇲🇪",ioc:"MNE",languages:["mot"],name:"Montenegro",status:"assigned"},{alpha2:"MF",alpha3:"MAF",countryCallingCodes:["+590"],currencies:["EUR"],emoji:"🇲🇫",ioc:"",languages:["fra"],name:"Saint Martin",status:"assigned"},{alpha2:"MG",alpha3:"MDG",countryCallingCodes:["+261"],currencies:["MGA"],emoji:"🇲🇬",ioc:"MAD",languages:["fra","mlg"],name:"Madagascar",status:"assigned"},{alpha2:"MH",alpha3:"MHL",countryCallingCodes:["+692"],currencies:["USD"],emoji:"🇲🇭",ioc:"MHL",languages:["eng","mah"],name:"Marshall Islands",status:"assigned"},{alpha2:"MI",alpha3:"MID",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Midway Islands",status:"deleted"},{alpha2:"MK",alpha3:"MKD",countryCallingCodes:["+389"],currencies:["MKD"],emoji:"🇲🇰",ioc:"MKD",languages:["mkd"],name:"North Macedonia",status:"assigned"},{alpha2:"ML",alpha3:"MLI",countryCallingCodes:["+223"],currencies:["XOF"],emoji:"🇲🇱",ioc:"MLI",languages:["fra"],name:"Mali",status:"assigned"},{alpha2:"MM",alpha3:"MMR",countryCallingCodes:["+95"],currencies:["MMK"],emoji:"🇲🇲",ioc:"MYA",languages:["mya"],name:"Myanmar",status:"assigned"},{alpha2:"MN",alpha3:"MNG",countryCallingCodes:["+976"],currencies:["MNT"],emoji:"🇲🇳",ioc:"MGL",languages:["mon"],name:"Mongolia",status:"assigned"},{alpha2:"MO",alpha3:"MAC",countryCallingCodes:["+853"],currencies:["MOP"],emoji:"🇲🇴",ioc:"MAC",languages:["zho","por"],name:"Macao",status:"assigned"},{alpha2:"MP",alpha3:"MNP",countryCallingCodes:["+1 670"],currencies:["USD"],emoji:"🇲🇵",ioc:"",languages:["eng"],name:"Northern Mariana Islands",status:"assigned"},{alpha2:"MQ",alpha3:"MTQ",countryCallingCodes:["+596"],currencies:["EUR"],emoji:"🇲🇶",ioc:"",languages:[],name:"Martinique",status:"assigned"},{alpha2:"MR",alpha3:"MRT",countryCallingCodes:["+222"],currencies:["MRU"],emoji:"🇲🇷",ioc:"MTN",languages:["ara","fra"],name:"Mauritania",status:"assigned"},{alpha2:"MS",alpha3:"MSR",countryCallingCodes:["+1 664"],currencies:["XCD"],emoji:"🇲🇸",ioc:"",languages:[],name:"Montserrat",status:"assigned"},{alpha2:"MT",alpha3:"MLT",countryCallingCodes:["+356"],currencies:["EUR"],emoji:"🇲🇹",ioc:"MLT",languages:["mlt","eng"],name:"Malta",status:"assigned"},{alpha2:"MU",alpha3:"MUS",countryCallingCodes:["+230"],currencies:["MUR"],emoji:"🇲🇺",ioc:"MRI",languages:["eng","fra"],name:"Mauritius",status:"assigned"},{alpha2:"MV",alpha3:"MDV",countryCallingCodes:["+960"],currencies:["MVR"],emoji:"🇲🇻",ioc:"MDV",languages:["div"],name:"Maldives",status:"assigned"},{alpha2:"MW",alpha3:"MWI",countryCallingCodes:["+265"],currencies:["MWK"],emoji:"🇲🇼",ioc:"MAW",languages:["eng","nya"],name:"Malawi",status:"assigned"},{alpha2:"MX",alpha3:"MEX",countryCallingCodes:["+52"],currencies:["MXN","MXV"],emoji:"🇲🇽",ioc:"MEX",languages:["spa"],name:"Mexico",status:"assigned"},{alpha2:"MY",alpha3:"MYS",countryCallingCodes:["+60"],currencies:["MYR"],emoji:"🇲🇾",ioc:"MAS",languages:["msa","eng"],name:"Malaysia",status:"assigned"},{alpha2:"MZ",alpha3:"MOZ",countryCallingCodes:["+258"],currencies:["MZN"],emoji:"🇲🇿",ioc:"MOZ",languages:["por"],name:"Mozambique",status:"assigned"},{alpha2:"NA",alpha3:"NAM",countryCallingCodes:["+264"],currencies:["NAD","ZAR"],emoji:"🇳🇦",ioc:"NAM",languages:["eng"],name:"Namibia",status:"assigned"},{alpha2:"NC",alpha3:"NCL",countryCallingCodes:["+687"],currencies:["XPF"],emoji:"🇳🇨",ioc:"",languages:["fra"],name:"New Caledonia",status:"assigned"},{alpha2:"NE",alpha3:"NER",countryCallingCodes:["+227"],currencies:["XOF"],emoji:"🇳🇪",ioc:"NIG",languages:["fra"],name:"Niger",status:"assigned"},{alpha2:"NF",alpha3:"NFK",countryCallingCodes:["+672"],currencies:["AUD"],emoji:"🇳🇫",ioc:"",languages:["eng"],name:"Norfolk Island",status:"assigned"},{alpha2:"NG",alpha3:"NGA",countryCallingCodes:["+234"],currencies:["NGN"],emoji:"🇳🇬",ioc:"NGR",languages:["eng"],name:"Nigeria",status:"assigned"},{alpha2:"NH",alpha3:"NHB",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"New Hebrides",status:"deleted"},{alpha2:"NI",alpha3:"NIC",countryCallingCodes:["+505"],currencies:["NIO"],emoji:"🇳🇮",ioc:"NCA",languages:["spa"],name:"Nicaragua",status:"assigned"},{alpha2:"NL",alpha3:"NLD",countryCallingCodes:["+31"],currencies:["EUR"],emoji:"🇳🇱",ioc:"NED",languages:["nld"],name:"Netherlands",status:"assigned"},{alpha2:"NO",alpha3:"NOR",countryCallingCodes:["+47"],currencies:["NOK"],emoji:"🇳🇴",ioc:"NOR",languages:["nor"],name:"Norway",status:"assigned"},{alpha2:"NP",alpha3:"NPL",countryCallingCodes:["+977"],currencies:["NPR"],emoji:"🇳🇵",ioc:"NEP",languages:["nep"],name:"Nepal",status:"assigned"},{alpha2:"NQ",alpha3:"ATN",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Dronning Maud Land",status:"deleted"},{alpha2:"NR",alpha3:"NRU",countryCallingCodes:["+674"],currencies:["AUD"],emoji:"🇳🇷",ioc:"NRU",languages:["eng","nau"],name:"Nauru",status:"assigned"},{alpha2:"NT",alpha3:"NTZ",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Neutral Zone",status:"deleted"},{alpha2:"NU",alpha3:"NIU",countryCallingCodes:["+683"],currencies:["NZD"],emoji:"🇳🇺",ioc:"",languages:["eng"],name:"Niue",status:"assigned"},{alpha2:"NZ",alpha3:"NZL",countryCallingCodes:["+64"],currencies:["NZD"],emoji:"🇳🇿",ioc:"NZL",languages:["eng","mri"],name:"New Zealand",status:"assigned"},{alpha2:"OM",alpha3:"OMN",countryCallingCodes:["+968"],currencies:["OMR"],emoji:"🇴🇲",ioc:"OMA",languages:["ara"],name:"Oman",status:"assigned"},{alpha2:"PA",alpha3:"PAN",countryCallingCodes:["+507"],currencies:["PAB","USD"],emoji:"🇵🇦",ioc:"PAN",languages:["spa"],name:"Panama",status:"assigned"},{alpha2:"PC",alpha3:"PCI",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Pacific Islands, Trust Territory of the",status:"deleted"},{alpha2:"PE",alpha3:"PER",countryCallingCodes:["+51"],currencies:["PEN"],emoji:"🇵🇪",ioc:"PER",languages:["spa","aym","que"],name:"Peru",status:"assigned"},{alpha2:"PF",alpha3:"PYF",countryCallingCodes:["+689"],currencies:["XPF"],emoji:"🇵🇫",ioc:"",languages:["fra"],name:"French Polynesia",status:"assigned"},{alpha2:"PG",alpha3:"PNG",countryCallingCodes:["+675"],currencies:["PGK"],emoji:"🇵🇬",ioc:"PNG",languages:["eng"],name:"Papua New Guinea",status:"assigned"},{alpha2:"PH",alpha3:"PHL",countryCallingCodes:["+63"],currencies:["PHP"],emoji:"🇵🇭",ioc:"PHI",languages:["eng"],name:"Philippines",status:"assigned"},{alpha2:"PK",alpha3:"PAK",countryCallingCodes:["+92"],currencies:["PKR"],emoji:"🇵🇰",ioc:"PAK",languages:["urd","eng"],name:"Pakistan",status:"assigned"},{alpha2:"PL",alpha3:"POL",countryCallingCodes:["+48"],currencies:["PLN"],emoji:"🇵🇱",ioc:"POL",languages:["pol"],name:"Poland",status:"assigned"},{alpha2:"PM",alpha3:"SPM",countryCallingCodes:["+508"],currencies:["EUR"],emoji:"🇵🇲",ioc:"",languages:["eng"],name:"Saint Pierre And Miquelon",status:"assigned"},{alpha2:"PN",alpha3:"PCN",countryCallingCodes:["+872"],currencies:["NZD"],emoji:"🇵🇳",ioc:"",languages:["eng"],name:"Pitcairn",status:"assigned"},{alpha2:"PR",alpha3:"PRI",countryCallingCodes:["+1 787","+1 939"],currencies:["USD"],emoji:"🇵🇷",ioc:"PUR",languages:["spa","eng"],name:"Puerto Rico",status:"assigned"},{alpha2:"PS",alpha3:"PSE",countryCallingCodes:["+970"],currencies:["JOD","EGP","ILS"],emoji:"🇵🇸",ioc:"PLE",languages:["ara"],name:"Palestinian Territory, Occupied",status:"assigned"},{alpha2:"PT",alpha3:"PRT",countryCallingCodes:["+351"],currencies:["EUR"],emoji:"🇵🇹",ioc:"POR",languages:["por"],name:"Portugal",status:"assigned"},{alpha2:"PU",alpha3:"PUS",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"U.S. Miscellaneous Pacific Islands",status:"deleted"},{alpha2:"PW",alpha3:"PLW",countryCallingCodes:["+680"],currencies:["USD"],emoji:"🇵🇼",ioc:"PLW",languages:["eng"],name:"Palau",status:"assigned"},{alpha2:"PY",alpha3:"PRY",countryCallingCodes:["+595"],currencies:["PYG"],emoji:"🇵🇾",ioc:"PAR",languages:["spa"],name:"Paraguay",status:"assigned"},{alpha2:"PZ",alpha3:"PCZ",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Panama Canal Zone",status:"deleted"},{alpha2:"QA",alpha3:"QAT",countryCallingCodes:["+974"],currencies:["QAR"],emoji:"🇶🇦",ioc:"QAT",languages:["ara"],name:"Qatar",status:"assigned"},{alpha2:"RE",alpha3:"REU",countryCallingCodes:["+262"],currencies:["EUR"],emoji:"🇷🇪",ioc:"",languages:["fra"],name:"Reunion",status:"assigned"},{alpha2:"RH",alpha3:"RHO",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Southern Rhodesia",status:"deleted"},{alpha2:"RO",alpha3:"ROU",countryCallingCodes:["+40"],currencies:["RON"],emoji:"🇷🇴",ioc:"ROU",languages:["ron"],name:"Romania",status:"assigned"},{alpha2:"RS",alpha3:"SRB",countryCallingCodes:["+381"],currencies:["RSD"],emoji:"🇷🇸",ioc:"SRB",languages:["srp"],name:"Serbia",status:"assigned"},{alpha2:"RU",alpha3:"RUS",countryCallingCodes:["+7","+7 3","+7 4","+7 8"],currencies:["RUB"],emoji:"🇷🇺",ioc:"RUS",languages:["rus"],name:"Russia",status:"assigned"},{alpha2:"RW",alpha3:"RWA",countryCallingCodes:["+250"],currencies:["RWF"],emoji:"🇷🇼",ioc:"RWA",languages:["eng","fra","kin"],name:"Rwanda",status:"assigned"},{alpha2:"SA",alpha3:"SAU",countryCallingCodes:["+966"],currencies:["SAR"],emoji:"🇸🇦",ioc:"KSA",languages:["ara"],name:"Saudi Arabia",status:"assigned"},{alpha2:"SB",alpha3:"SLB",countryCallingCodes:["+677"],currencies:["SBD"],emoji:"🇸🇧",ioc:"SOL",languages:["eng"],name:"Solomon Islands",status:"assigned"},{alpha2:"SC",alpha3:"SYC",countryCallingCodes:["+248"],currencies:["SCR"],emoji:"🇸🇨",ioc:"SEY",languages:["eng","fra"],name:"Seychelles",status:"assigned"},{alpha2:"SD",alpha3:"SDN",countryCallingCodes:["+249"],currencies:["SDG"],emoji:"🇸🇩",ioc:"SUD",languages:["ara","eng"],name:"Sudan",status:"assigned"},{alpha2:"SE",alpha3:"SWE",countryCallingCodes:["+46"],currencies:["SEK"],emoji:"🇸🇪",ioc:"SWE",languages:["swe"],name:"Sweden",status:"assigned"},{alpha2:"SG",alpha3:"SGP",countryCallingCodes:["+65"],currencies:["SGD"],emoji:"🇸🇬",ioc:"SGP",languages:["eng","zho","msa","tam"],name:"Singapore",status:"assigned"},{alpha2:"SH",alpha3:"SHN",countryCallingCodes:["+290"],currencies:["SHP"],emoji:"🇸🇭",ioc:"",languages:["eng"],name:"Saint Helena, Ascension And Tristan Da Cunha",status:"assigned"},{alpha2:"SI",alpha3:"SVN",countryCallingCodes:["+386"],currencies:["EUR"],emoji:"🇸🇮",ioc:"SLO",languages:["slv"],name:"Slovenia",status:"assigned"},{alpha2:"SJ",alpha3:"SJM",countryCallingCodes:["+47"],currencies:["NOK"],emoji:"🇸🇯",ioc:"",languages:[],name:"Svalbard And Jan Mayen",status:"assigned"},{alpha2:"SK",alpha3:"SVK",countryCallingCodes:["+421"],currencies:["EUR"],emoji:"🇸🇰",ioc:"SVK",languages:["slk"],name:"Slovakia",status:"assigned"},{alpha2:"SK",alpha3:"SKM",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Sikkim",status:"deleted"},{alpha2:"SL",alpha3:"SLE",countryCallingCodes:["+232"],currencies:["SLE"],emoji:"🇸🇱",ioc:"SLE",languages:["eng"],name:"Sierra Leone",status:"assigned"},{alpha2:"SM",alpha3:"SMR",countryCallingCodes:["+378"],currencies:["EUR"],emoji:"🇸🇲",ioc:"SMR",languages:["ita"],name:"San Marino",status:"assigned"},{alpha2:"SN",alpha3:"SEN",countryCallingCodes:["+221"],currencies:["XOF"],emoji:"🇸🇳",ioc:"SEN",languages:["fra"],name:"Senegal",status:"assigned"},{alpha2:"SO",alpha3:"SOM",countryCallingCodes:["+252"],currencies:["SOS"],emoji:"🇸🇴",ioc:"SOM",languages:["som"],name:"Somalia",status:"assigned"},{alpha2:"SR",alpha3:"SUR",countryCallingCodes:["+597"],currencies:["SRD"],emoji:"🇸🇷",ioc:"SUR",languages:["nld"],name:"Suriname",status:"assigned"},{alpha2:"SS",alpha3:"SSD",countryCallingCodes:["+211"],currencies:["SSP"],emoji:"🇸🇸",ioc:"SSD",languages:["eng"],name:"South Sudan",status:"assigned"},{alpha2:"ST",alpha3:"STP",countryCallingCodes:["+239"],currencies:["STN"],emoji:"🇸🇹",ioc:"STP",languages:["por"],name:"Sao Tome and Principe",status:"assigned"},{alpha2:"SU",alpha3:"SUN",countryCallingCodes:[],currencies:["RUB"],emoji:"",ioc:"",languages:["rus"],name:"USSR",status:"reserved"},{alpha2:"SV",alpha3:"SLV",countryCallingCodes:["+503"],currencies:["USD"],emoji:"🇸🇻",ioc:"ESA",languages:["spa"],name:"El Salvador",status:"assigned"},{alpha2:"SX",alpha3:"SXM",countryCallingCodes:["+1 721"],currencies:["XCG"],emoji:"🇸🇽",ioc:"",languages:["nld"],name:"Sint Maarten",status:"assigned"},{alpha2:"SY",alpha3:"SYR",countryCallingCodes:["+963"],currencies:["SYP"],emoji:"🇸🇾",ioc:"SYR",languages:["ara"],name:"Syrian Arab Republic",status:"assigned"},{alpha2:"SZ",alpha3:"SWZ",countryCallingCodes:["+268"],currencies:["SZL"],emoji:"🇸🇿",ioc:"SWZ",languages:["eng","ssw"],name:"Eswatini",status:"assigned"},{alpha2:"TA",alpha3:"TAA",countryCallingCodes:["+290"],currencies:["GBP"],emoji:"🇹🇦",ioc:"",languages:[],name:"Tristan de Cunha",status:"reserved"},{alpha2:"TC",alpha3:"TCA",countryCallingCodes:["+1 649"],currencies:["USD"],emoji:"🇹🇨",ioc:"",languages:["eng"],name:"Turks And Caicos Islands",status:"assigned"},{alpha2:"TD",alpha3:"TCD",countryCallingCodes:["+235"],currencies:["XAF"],emoji:"🇹🇩",ioc:"CHA",languages:["ara","fra"],name:"Chad",status:"assigned"},{alpha2:"TF",alpha3:"ATF",countryCallingCodes:[],currencies:["EUR"],emoji:"🇹🇫",ioc:"",languages:["fra"],name:"French Southern Territories",status:"assigned"},{alpha2:"TG",alpha3:"TGO",countryCallingCodes:["+228"],currencies:["XOF"],emoji:"🇹🇬",ioc:"TOG",languages:["fra"],name:"Togo",status:"assigned"},{alpha2:"TH",alpha3:"THA",countryCallingCodes:["+66"],currencies:["THB"],emoji:"🇹🇭",ioc:"THA",languages:["tha"],name:"Thailand",status:"assigned"},{alpha2:"TJ",alpha3:"TJK",countryCallingCodes:["+992"],currencies:["TJS"],emoji:"🇹🇯",ioc:"TJK",languages:["tgk","rus"],name:"Tajikistan",status:"assigned"},{alpha2:"TK",alpha3:"TKL",countryCallingCodes:["+690"],currencies:["NZD"],emoji:"🇹🇰",ioc:"",languages:["eng"],name:"Tokelau",status:"assigned"},{alpha2:"TL",alpha3:"TLS",countryCallingCodes:["+670"],currencies:["USD"],emoji:"🇹🇱",ioc:"TLS",languages:["por"],name:"Timor-Leste, Democratic Republic of",status:"assigned"},{alpha2:"TM",alpha3:"TKM",countryCallingCodes:["+993"],currencies:["TMT"],emoji:"🇹🇲",ioc:"TKM",languages:["tuk","rus"],name:"Turkmenistan",status:"assigned"},{alpha2:"TN",alpha3:"TUN",countryCallingCodes:["+216"],currencies:["TND"],emoji:"🇹🇳",ioc:"TUN",languages:["ara"],name:"Tunisia",status:"assigned"},{alpha2:"TO",alpha3:"TON",countryCallingCodes:["+676"],currencies:["TOP"],emoji:"🇹🇴",ioc:"TGA",languages:["eng"],name:"Tonga",status:"assigned"},{alpha2:"TP",alpha3:"TMP",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"East Timor",status:"deleted"},{alpha2:"TR",alpha3:"TUR",countryCallingCodes:["+90"],currencies:["TRY"],emoji:"🇹🇷",ioc:"TUR",languages:["tur"],name:"Turkey",status:"assigned"},{alpha2:"TT",alpha3:"TTO",countryCallingCodes:["+1 868"],currencies:["TTD"],emoji:"🇹🇹",ioc:"TTO",languages:["eng"],name:"Trinidad And Tobago",status:"assigned"},{alpha2:"TV",alpha3:"TUV",countryCallingCodes:["+688"],currencies:["AUD"],emoji:"🇹🇻",ioc:"TUV",languages:["eng"],name:"Tuvalu",status:"assigned"},{alpha2:"TW",alpha3:"TWN",countryCallingCodes:["+886"],currencies:["TWD"],emoji:"🇹🇼",ioc:"TPE",languages:["zho"],name:"Taiwan",status:"assigned"},{alpha2:"TZ",alpha3:"TZA",countryCallingCodes:["+255"],currencies:["TZS"],emoji:"🇹🇿",ioc:"TAN",languages:["swa","eng"],name:"Tanzania, United Republic Of",status:"assigned"},{alpha2:"UA",alpha3:"UKR",countryCallingCodes:["+380"],currencies:["UAH"],emoji:"🇺🇦",ioc:"UKR",languages:["ukr","rus"],name:"Ukraine",status:"assigned"},{alpha2:"UG",alpha3:"UGA",countryCallingCodes:["+256"],currencies:["UGX"],emoji:"🇺🇬",ioc:"UGA",languages:["eng","swa"],name:"Uganda",status:"assigned"},{alpha2:"UM",alpha3:"UMI",countryCallingCodes:["+1"],currencies:["USD"],emoji:"🇺🇲",ioc:"",languages:["eng"],name:"United States Minor Outlying Islands",status:"assigned"},{alpha2:"US",alpha3:"USA",countryCallingCodes:["+1"],currencies:["USD"],emoji:"🇺🇸",ioc:"USA",languages:["eng"],name:"United States",status:"assigned"},{alpha2:"UY",alpha3:"URY",countryCallingCodes:["+598"],currencies:["UYU","UYI"],emoji:"🇺🇾",ioc:"URU",languages:["spa"],name:"Uruguay",status:"assigned"},{alpha2:"UZ",alpha3:"UZB",countryCallingCodes:["+998"],currencies:["UZS"],emoji:"🇺🇿",ioc:"UZB",languages:["uzb","rus"],name:"Uzbekistan",status:"assigned"},{alpha2:"VA",alpha3:"VAT",countryCallingCodes:["+379","+39"],currencies:["EUR"],emoji:"🇻🇦",ioc:"",languages:["ita"],name:"Vatican City State",status:"assigned"},{alpha2:"VC",alpha3:"VCT",countryCallingCodes:["+1 784"],currencies:["XCD"],emoji:"🇻🇨",ioc:"VIN",languages:["eng"],name:"Saint Vincent And The Grenadines",status:"assigned"},{alpha2:"VD",alpha3:"VDR",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Viet-Nam, Democratic Republic of",status:"deleted"},{alpha2:"VE",alpha3:"VEN",countryCallingCodes:["+58"],currencies:["VES"],emoji:"🇻🇪",ioc:"VEN",languages:["spa"],name:"Venezuela, Bolivarian Republic Of",status:"assigned"},{alpha2:"VG",alpha3:"VGB",countryCallingCodes:["+1 284"],currencies:["USD"],emoji:"🇻🇬",ioc:"IVB",languages:["eng"],name:"Virgin Islands (British)",status:"assigned"},{alpha2:"VI",alpha3:"VIR",countryCallingCodes:["+1 340"],currencies:["USD"],emoji:"🇻🇮",ioc:"ISV",languages:["eng"],name:"Virgin Islands (US)",status:"assigned"},{alpha2:"VN",alpha3:"VNM",countryCallingCodes:["+84"],currencies:["VND"],emoji:"🇻🇳",ioc:"VIE",languages:["vie"],name:"VietNam",status:"assigned"},{alpha2:"VU",alpha3:"VUT",countryCallingCodes:["+678"],currencies:["VUV"],emoji:"🇻🇺",ioc:"VAN",languages:["bis","eng","fra"],name:"Vanuatu",status:"assigned"},{alpha2:"WF",alpha3:"WLF",countryCallingCodes:["+681"],currencies:["XPF"],emoji:"🇼🇫",ioc:"",languages:["fra"],name:"Wallis And Futuna",status:"assigned"},{alpha2:"WK",alpha3:"WAK",countryCallingCodes:[],currencies:[],ioc:"",languages:[],name:"Wake Island",status:"deleted"},{alpha2:"WS",alpha3:"WSM",countryCallingCodes:["+685"],currencies:["WST"],emoji:"🇼🇸",ioc:"SAM",languages:["eng","smo"],name:"Samoa",status:"assigned"},{alpha2:"XK",alpha3:"XKX",countryCallingCodes:["+383"],currencies:["EUR"],emoji:"🇽🇰",ioc:"KOS",languages:["sqi","srp","bos","tur","rom"],name:"Kosovo",status:"user assigned"},{alpha2:"YD",alpha3:"YMD",countryCallingCodes:["+967"],currencies:[],ioc:"🇾🇪",languages:[],name:"Yemen, Democratic",status:"deleted"},{alpha2:"YE",alpha3:"YEM",countryCallingCodes:["+967"],currencies:["YER"],emoji:"🇾🇪",ioc:"YEM",languages:["ara"],name:"Yemen",status:"assigned"},{alpha2:"YT",alpha3:"MYT",countryCallingCodes:["+262"],currencies:["EUR"],emoji:"🇾🇹",ioc:"",languages:["fra"],name:"Mayotte",status:"assigned"},{alpha2:"YU",alpha3:"YUG",countryCallingCodes:["+38"],currencies:[],ioc:"",languages:[],name:"Yugoslavia",status:"deleted"},{alpha2:"ZA",alpha3:"ZAF",countryCallingCodes:["+27"],currencies:["ZAR"],emoji:"🇿🇦",ioc:"RSA",languages:["afr","eng","nbl","som","tso","ven","xho","zul"],name:"South Africa",status:"assigned"},{alpha2:"ZM",alpha3:"ZMB",countryCallingCodes:["+260"],currencies:["ZMW"],emoji:"🇿🇲",ioc:"ZAM",languages:["eng"],name:"Zambia",status:"assigned"},{alpha2:"ZR",alpha3:"ZAR",countryCallingCodes:["+243"],currencies:[],ioc:"",languages:[],name:"Zaire",status:"deleted"},{alpha2:"ZW",alpha3:"ZWE",countryCallingCodes:["+263"],currencies:["USD","ZAR","BWP","GBP","EUR"],emoji:"🇿🇼",ioc:"ZIM",languages:["eng","sna","nde"],name:"Zimbabwe",status:"assigned"}];var p=Object.defineProperty,n=t((a,e)=>p(a,"name",{value:e,configurable:!0}),"r");const u={},g={},r={},c=d;c.forEach(a=>{const e=u[a.alpha2];(!e||e.status==="deleted"||a.status==="assigned")&&(u[a.alpha2]=a);const s=g[a.alpha3];(!s||s.status==="deleted"||a.status==="assigned")&&(g[a.alpha3]=a),a.numeric&&(r[a.numeric]=a)});const l=n(a=>u[a.toUpperCase()],"getByAlpha2"),i=n(a=>g[a.toUpperCase()],"getByAlpha3"),o=n(a=>{const e=typeof a=="number"?String(a).padStart(3,"0"):a.padStart(3,"0");return r[e]},"getByNumeric"),m=n(a=>l(a)?.alpha3,"alpha2ToAlpha3"),y=n(a=>i(a)?.alpha2,"alpha3ToAlpha2"),j=n(a=>l(a)?.numeric,"alpha2ToNumeric"),A=n(a=>i(a)?.numeric,"alpha3ToNumeric"),S=n(a=>o(a)?.alpha2,"numericToAlpha2"),R=n(a=>o(a)?.alpha3,"numericToAlpha3"),M=n(a=>{if(typeof a=="number"||/^\d+$/.test(String(a)))return o(a)!==void 0;const e=String(a).toUpperCase();return e.length===2?l(e)!==void 0:e.length===3?i(e)!==void 0:!1},"isValid"),U=u,N=g,D=r,B=n(a=>{let e;if(typeof a=="number"||/^\d+$/.test(String(a)))e=o(a);else{const s=String(a).toUpperCase();s.length===2?e=l(s):s.length===3&&(e=i(s))}return e?.emoji},"getEmoji"),E=n(a=>{let e;if(typeof a=="number"||/^\d+$/.test(String(a)))e=o(a);else{const s=String(a).toUpperCase();s.length===2?e=l(s):s.length===3&&(e=i(s))}return e?.countryCallingCodes?.[0]},"getCallingCode"),T=n(a=>{let e;if(typeof a=="number"||/^\d+$/.test(String(a)))e=o(a);else{const s=String(a).toUpperCase();s.length===2?e=l(s):s.length===3&&(e=i(s))}return e?.countryCallingCodes||[]},"getCallingCodes"),G=n(a=>{let e;if(typeof a=="number"||/^\d+$/.test(String(a)))e=o(a);else{const s=String(a).toUpperCase();s.length===2?e=l(s):s.length===3&&(e=i(s))}return e?.languages||[]},"getLanguages"),I=n(a=>{let e;if(typeof a=="number"||/^\d+$/.test(String(a)))e=o(a);else{const s=String(a).toUpperCase();s.length===2?e=l(s):s.length===3&&(e=i(s))}return e?.ioc},"getIOC"),L=n(a=>{const e=a.trim();return c.find(s=>s.name.toLowerCase()===e.toLowerCase())},"getCountryByName"),P=n(a=>{const e=a.trim().toLowerCase();return e.length===0?[]:c.filter(s=>s.name.toLowerCase().includes(e))},"searchCountries"),K=c;export{K as all,m as alpha2ToAlpha3,j as alpha2ToNumeric,y as alpha3ToAlpha2,A as alpha3ToNumeric,U as byAlpha2,N as byAlpha3,D as byNumeric,l as getByAlpha2,i as getByAlpha3,o as getByNumeric,E as getCallingCode,T as getCallingCodes,L as getCountryByName,B as getEmoji,I as getIOC,G as getLanguages,M as isValid,S as numericToAlpha2,R as numericToAlpha3,P as searchCountries};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { Currency } from "./types.d.ts";
|
|
2
|
+
/**
|
|
3
|
+
* All currencies array
|
|
4
|
+
*/
|
|
5
|
+
export declare const all: ReadonlyArray<Currency>;
|
|
6
|
+
/**
|
|
7
|
+
* Get currency by ISO 4217 alphabetic code.
|
|
8
|
+
* @param code 3-letter currency code (e.g., "USD")
|
|
9
|
+
* @returns Currency object or undefined
|
|
10
|
+
*/
|
|
11
|
+
export declare const getByCode: (code: string) => Currency | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Get currency by ISO 4217 numeric code.
|
|
14
|
+
* @param number 3-digit numeric code (e.g., "840")
|
|
15
|
+
* @returns Currency object or undefined
|
|
16
|
+
*/
|
|
17
|
+
export declare const getByNumber: (number: string | number) => Currency | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Get currencies used by a country (by alpha-2 code).
|
|
20
|
+
* @param countryCode ISO 3166-1 alpha-2 country code (e.g., "US")
|
|
21
|
+
* @returns Array of Currency objects
|
|
22
|
+
*/
|
|
23
|
+
export declare const getByCountry: (countryCode: string) => Currency[];
|
|
24
|
+
/**
|
|
25
|
+
* Get all countries using a specific currency.
|
|
26
|
+
* @param currencyCode ISO 4217 currency code (e.g., "USD")
|
|
27
|
+
* @returns Array of country alpha-2 codes
|
|
28
|
+
*/
|
|
29
|
+
export declare const getCountriesByCurrency: (currencyCode: string) => string[];
|
|
30
|
+
/**
|
|
31
|
+
* Get currency symbol for a currency code.
|
|
32
|
+
* @param currencyCode ISO 4217 currency code
|
|
33
|
+
* @returns Currency symbol or the code itself if symbol not found
|
|
34
|
+
*/
|
|
35
|
+
export declare const getSymbol: (currencyCode: string) => string;
|
|
36
|
+
/**
|
|
37
|
+
* Get currency name for a currency code.
|
|
38
|
+
* @param currencyCode ISO 4217 currency code
|
|
39
|
+
* @returns Currency name or undefined
|
|
40
|
+
*/
|
|
41
|
+
export declare const getName: (currencyCode: string) => string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Check if a currency code is valid.
|
|
44
|
+
* @param code Currency code (alphabetic or numeric)
|
|
45
|
+
* @returns true if valid, false otherwise
|
|
46
|
+
*/
|
|
47
|
+
export declare const isValid: (code: string | number) => boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Currencies indexed by code
|
|
50
|
+
*/
|
|
51
|
+
export declare const byCode: Readonly<Record<string, Currency>>;
|
|
52
|
+
/**
|
|
53
|
+
* Currencies indexed by numeric code
|
|
54
|
+
*/
|
|
55
|
+
export declare const byNumber: Readonly<Record<string, Currency>>;
|
|
56
|
+
/**
|
|
57
|
+
* Get currency by name (exact match, case-insensitive).
|
|
58
|
+
* @param name Currency name (e.g., "US Dollar")
|
|
59
|
+
* @returns Currency object or undefined
|
|
60
|
+
*/
|
|
61
|
+
export declare const getCurrencyByName: (name: string) => Currency | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Search currencies by name (partial match, case-insensitive).
|
|
64
|
+
* @param query Search query (e.g., "dollar")
|
|
65
|
+
* @returns Array of matching Currency objects
|
|
66
|
+
*/
|
|
67
|
+
export declare const searchCurrencies: (query: string) => Currency[];
|