11 Commits

Author SHA1 Message Date
jkunz d0ff8146f4 v1.1.0 2026-05-01 22:10:01 +00:00
jkunz 1aba288d2b feat(package): modernize package metadata, exports, and typed country dataset coverage 2026-05-01 22:10:01 +00:00
philkunz bea77e8672 update description 2024-05-29 14:13:37 +02:00
philkunz e8cae9f23e update tsconfig 2024-04-14 17:42:48 +02:00
philkunz dd28b52d72 update npmextra.json: githost 2024-04-01 21:35:28 +02:00
philkunz 792705bbcc update npmextra.json: githost 2024-04-01 19:58:27 +02:00
philkunz 7f58d0e74d update npmextra.json: githost 2024-03-30 21:47:25 +01:00
philkunz d86645de16 1.0.4 2023-10-21 16:05:36 +02:00
philkunz 535ab5c26e fix(core): update 2023-10-21 16:05:35 +02:00
philkunz ee99a51d80 1.0.3 2023-10-21 16:04:40 +02:00
philkunz b9b34d8ac2 fix(core): update 2023-10-21 16:04:39 +02:00
15 changed files with 7974 additions and 5220 deletions
+40
View File
@@ -0,0 +1,40 @@
{
"@ship.zone/szci": {
"npmGlobalTools": [],
"npmRegistryUrl": "registry.npmjs.org"
},
"@git.zone/cli": {
"projectType": "npm",
"module": {
"githost": "code.foss.global",
"gitscope": "push.rocks",
"gitrepo": "smarti18n",
"shortDescription": "Country code and phone prefix data",
"description": "A package for internationalization (i18n) that provides utilities for dealing with international phone number prefixes, country codes, and names.",
"npmPackagename": "@push.rocks/smarti18n",
"license": "MIT",
"keywords": [
"i18n",
"internationalization",
"country codes",
"phone prefixes",
"typescript",
"npm package",
"country names",
"language support",
"translation utilities",
"globalization"
]
},
"release": {
"registries": [
"https://verdaccio.lossless.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public"
}
},
"@git.zone/tsdoc": {
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.\n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein.\n\nUse of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District Court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
}
}
+32
View File
@@ -0,0 +1,32 @@
# Changelog
## 2026-05-01 - 1.1.0 - feat(package)
modernize package metadata, exports, and typed country dataset coverage
- add an exported ICountryCode interface and type the countryCodeArray dataset
- add meaningful tests for dataset size and Germany country metadata
- define package exports and refresh build, test, and documentation tooling configuration
- update README and project metadata for clearer package usage and release configuration
## 2024-05-29 - 1.0.4 - maintenance
Repository metadata and configuration updates.
- Updated package description
- Adjusted TypeScript configuration
- Updated npmextra.json git host settings
- Includes routine maintenance changes across 2024-03-30 to 2024-05-29
## 2023-10-21 - 1.0.3 - core
Core update fix release.
- Applied `fix(core): update`
## 2023-10-21 - 1.0.2 - core
Core update fix release.
- Applied `fix(core): update`
## 2023-10-21 - 1.0.1 - core
Core update fix release.
- Applied `fix(core): update`
+19
View File
@@ -0,0 +1,19 @@
Copyright (c) 2026 Task Venture Capital GmbH <hello@task.vc>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+30 -8
View File
@@ -1,18 +1,40 @@
{ {
"gitzone": { "@ship.zone/szci": {
"npmGlobalTools": [],
"npmRegistryUrl": "registry.npmjs.org"
},
"@git.zone/cli": {
"projectType": "npm", "projectType": "npm",
"module": { "module": {
"githost": "gitlab.com", "githost": "code.foss.global",
"gitscope": "push.rocks", "gitscope": "push.rocks",
"gitrepo": "smarti18n", "gitrepo": "smarti18n",
"description": "a package dealing with i18n stuff", "shortDescription": "Country code and phone prefix data",
"description": "A package for internationalization (i18n) that provides utilities for dealing with international phone number prefixes, country codes, and names.",
"npmPackagename": "@push.rocks/smarti18n", "npmPackagename": "@push.rocks/smarti18n",
"license": "MIT", "license": "MIT",
"projectDomain": "push.rocks" "keywords": [
"i18n",
"internationalization",
"country codes",
"phone prefixes",
"typescript",
"npm package",
"country names",
"language support",
"translation utilities",
"globalization"
]
},
"release": {
"registries": [
"https://verdaccio.lossless.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public"
} }
}, },
"npmci": { "@git.zone/tsdoc": {
"npmGlobalTools": [], "legal": "\n## License and Legal Information\n\nThis repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.\n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein.\n\nUse of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District Court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
"npmAccessLevel": "public"
} }
} }
+30 -15
View File
@@ -1,34 +1,35 @@
{ {
"name": "@push.rocks/smarti18n", "name": "@push.rocks/smarti18n",
"version": "1.0.2", "version": "1.1.0",
"private": false, "private": false,
"description": "a package dealing with i18n stuff", "description": "A package for internationalization (i18n) that provides utilities for dealing with international phone number prefixes, country codes, and names.",
"exports": {
".": "./dist_ts/index.js"
},
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",
"type": "module", "type": "module",
"author": "Task Venture Capital GmbH", "author": "Task Venture Capital GmbH <hello@task.vc>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "(tstest test/ --web)", "test": "tstest test/",
"build": "(tsbuild --web --allowimplicitany)", "build": "tsbuild --web",
"buildDocs": "(tsdoc)" "buildDocs": "tsdoc"
}, },
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^2.1.25", "@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsbundle": "^2.0.5", "@git.zone/tsdoc": "^2.0.3",
"@git.zone/tsrun": "^1.2.46", "@git.zone/tstest": "^3.6.3",
"@git.zone/tstest": "^1.0.44", "@types/node": "^25.6.0"
"@push.rocks/tapbundle": "^5.0.15",
"@types/node": "^20.8.7"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://gitlab.com/push.rocks/smarti18n.git" "url": "https://code.foss.global/push.rocks/smarti18n.git"
}, },
"bugs": { "bugs": {
"url": "https://gitlab.com/push.rocks/smarti18n/issues" "url": "https://code.foss.global/push.rocks/smarti18n/issues"
}, },
"homepage": "https://gitlab.com/push.rocks/smarti18n#readme", "homepage": "https://code.foss.global/push.rocks/smarti18n",
"browserslist": [ "browserslist": [
"last 1 chrome versions" "last 1 chrome versions"
], ],
@@ -41,7 +42,21 @@
"dist_ts_web/**/*", "dist_ts_web/**/*",
"assets/**/*", "assets/**/*",
"cli.js", "cli.js",
".smartconfig.json",
"license",
"npmextra.json", "npmextra.json",
"readme.md" "readme.md"
],
"keywords": [
"i18n",
"internationalization",
"country codes",
"phone prefixes",
"typescript",
"npm package",
"country names",
"language support",
"translation utilities",
"globalization"
] ]
} }
+7414 -4903
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
+128 -24
View File
@@ -1,31 +1,135 @@
# @push.rocks/smarti18n # @push.rocks/smarti18n
a package dealing with i18n stuff
## Availabililty and Links `@push.rocks/smarti18n` is a tiny, typed ESM package for working with country metadata in international applications. It currently ships a ready-to-use country-code dataset that maps ISO-style country codes to human-readable country names and international phone prefixes.
* [npmjs.org (npm package)](https://www.npmjs.com/package/@push.rocks/smarti18n)
* [gitlab.com (source)](https://gitlab.com/push.rocks/smarti18n)
* [github.com (source mirror)](https://github.com/push.rocks/smarti18n)
* [docs (typedoc)](https://push.rocks.gitlab.io/smarti18n/)
## Status for master Use it when you need dependable country data for signup forms, billing profiles, phone-number UI, address flows, CRM imports, or any TypeScript project that needs country names and dialing prefixes without pulling in a large i18n framework.
Status Category | Status Badge ## Issue Reporting and Security
-- | --
GitLab Pipelines | [![pipeline status](https://gitlab.com/push.rocks/smarti18n/badges/master/pipeline.svg)](https://lossless.cloud) For reporting bugs, issues, or security vulnerabilities, please visit [community.foss.global/](https://community.foss.global/). This is the central community hub for all issue reporting. Developers who sign and comply with our contribution agreement and go through identification can also get a [code.foss.global/](https://code.foss.global/) account to submit Pull Requests directly.
GitLab Pipline Test Coverage | [![coverage report](https://gitlab.com/push.rocks/smarti18n/badges/master/coverage.svg)](https://lossless.cloud)
npm | [![npm downloads per month](https://badgen.net/npm/dy/@push.rocks/smarti18n)](https://lossless.cloud) ## Install
Snyk | [![Known Vulnerabilities](https://badgen.net/snyk/push.rocks/smarti18n)](https://lossless.cloud)
TypeScript Support | [![TypeScript](https://badgen.net/badge/TypeScript/>=%203.x/blue?icon=typescript)](https://lossless.cloud) ```bash
node Support | [![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/) pnpm add @push.rocks/smarti18n
Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](https://lossless.cloud) ```
PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@push.rocks/smarti18n)](https://lossless.cloud)
PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@push.rocks/smarti18n)](https://lossless.cloud) The package is published as native ESM and includes TypeScript declarations.
BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@push.rocks/smarti18n)](https://lossless.cloud)
## What It Exports
### `ICountryCode`
```typescript
export interface ICountryCode {
code: string;
name: string;
phonePrefix: string;
}
```
Each record contains:
- `code`: the two-letter country or territory code, such as `DE`, `US`, or `GB`
- `name`: the display name for the country or territory
- `phonePrefix`: the international dialing prefix without a leading `+`, such as `49` for Germany
Some territories do not have their own dialing prefix in the dataset. In those cases, `phonePrefix` is an empty string.
### `countryCodeArray`
```typescript
export const countryCodeArray: ICountryCode[];
```
`countryCodeArray` contains more than 200 country and territory records.
## Usage ## Usage
Use TypeScript for best in class intellisense
For further information read the linked docs at the top of this readme.
## Legal ### Import The Dataset
> MIT licensed | **&copy;** [Task Venture Capital GmbH](https://task.vc)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy) ```typescript
import { countryCodeArray } from '@push.rocks/smarti18n';
```
### Find A Country By Code
```typescript
import { countryCodeArray } from '@push.rocks/smarti18n';
const germany = countryCodeArray.find((country) => country.code === 'DE');
console.log(germany);
// { code: 'DE', name: 'Germany', phonePrefix: '49' }
```
### Build Country Select Options
```typescript
import { countryCodeArray } from '@push.rocks/smarti18n';
const countryOptions = countryCodeArray.map((country) => ({
value: country.code,
label: country.phonePrefix
? `${country.name} (+${country.phonePrefix})`
: country.name,
}));
```
### Create A Fast Lookup Map
```typescript
import { countryCodeArray } from '@push.rocks/smarti18n';
const countriesByCode = new Map(
countryCodeArray.map((country) => [country.code, country])
);
const unitedStates = countriesByCode.get('US');
console.log(unitedStates?.phonePrefix);
// '1'
```
### Filter Countries With Phone Prefixes
```typescript
import { countryCodeArray } from '@push.rocks/smarti18n';
const countriesWithDialingPrefixes = countryCodeArray.filter(
(country) => country.phonePrefix.length > 0
);
```
## API Surface
The package intentionally keeps the API small:
- `ICountryCode`: TypeScript interface for a country record
- `countryCodeArray`: Array of country records
There are no runtime helpers, localization engines, translation loaders, or date/number formatters in the current release. If you need those features, combine this dataset with the platform `Intl` APIs or your existing i18n framework.
## Runtime Compatibility
`@push.rocks/smarti18n` is built as an ESM package and works in modern Node.js and browser-oriented TypeScript builds. The dataset is static, has no runtime dependencies, and can be imported directly in frontend or backend code.
## License and Legal Information
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
### Trademarks
This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein.
Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar.
### Company Information
Task Venture Capital GmbH
Registered at District Court Bremen HRB 35230 HB, Germany
For any legal inquiries or further information, please contact us via email at hello@task.vc.
By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.
+15
View File
@@ -0,0 +1,15 @@
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as smarti18n from '../ts/index.js';
tap.test('should expose country code records', async () => {
expect(smarti18n.countryCodeArray.length).toBeGreaterThan(200);
});
tap.test('should include Germany with phone prefix', async () => {
const germany = smarti18n.countryCodeArray.find((countryArg) => countryArg.code === 'DE');
expect(germany?.name).toEqual('Germany');
expect(germany?.phonePrefix).toEqual('49');
});
export default tap.start();
-8
View File
@@ -1,8 +0,0 @@
import { expect, expectAsync, tap } from '@push.rocks/tapbundle';
import * as smarti18n from '../ts/index.js'
tap.test('first test', async () => {
console.log(smarti18n)
})
tap.start()
+3 -3
View File
@@ -1,8 +1,8 @@
/** /**
* autocreated commitinfo by @pushrocks/commitinfo * autocreated commitinfo by @push.rocks/commitinfo
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smarti18n', name: '@push.rocks/smarti18n',
version: '1.0.2', version: '1.1.0',
description: 'a package dealing with i18n stuff' description: 'A package for internationalization (i18n) that provides utilities for dealing with international phone number prefixes, country codes, and names.'
} }
+257 -251
View File
@@ -1,251 +1,257 @@
export const countryCodeArray = [ export interface ICountryCode {
{ "code": "AD", "name": "Andorra" }, code: string;
{ "code": "AE", "name": "United Arab Emirates" }, name: string;
{ "code": "AF", "name": "Afghanistan" }, phonePrefix: string;
{ "code": "AG", "name": "Antigua and Barbuda" }, }
{ "code": "AI", "name": "Anguilla" },
{ "code": "AL", "name": "Albania" }, export const countryCodeArray: ICountryCode[] = [
{ "code": "AM", "name": "Armenia" }, { "code": "AD", "name": "Andorra", "phonePrefix": "376" },
{ "code": "AO", "name": "Angola" }, { "code": "AE", "name": "United Arab Emirates", "phonePrefix": "971" },
{ "code": "AQ", "name": "Antarctica" }, { "code": "AF", "name": "Afghanistan", "phonePrefix": "93" },
{ "code": "AR", "name": "Argentina" }, { "code": "AG", "name": "Antigua and Barbuda", "phonePrefix": "1-268" },
{ "code": "AS", "name": "American Samoa" }, { "code": "AI", "name": "Anguilla", "phonePrefix": "1-264" },
{ "code": "AT", "name": "Austria" }, { "code": "AL", "name": "Albania", "phonePrefix": "355" },
{ "code": "AU", "name": "Australia" }, { "code": "AM", "name": "Armenia", "phonePrefix": "374" },
{ "code": "AW", "name": "Aruba" }, { "code": "AO", "name": "Angola", "phonePrefix": "244" },
{ "code": "AX", "name": "Åland Islands" }, { "code": "AQ", "name": "Antarctica", "phonePrefix": "672" },
{ "code": "AZ", "name": "Azerbaijan" }, { "code": "AR", "name": "Argentina", "phonePrefix": "54" },
{ "code": "BA", "name": "Bosnia and Herzegovina" }, { "code": "AS", "name": "American Samoa", "phonePrefix": "1-684" },
{ "code": "BB", "name": "Barbados" }, { "code": "AT", "name": "Austria", "phonePrefix": "43" },
{ "code": "BD", "name": "Bangladesh" }, { "code": "AU", "name": "Australia", "phonePrefix": "61" },
{ "code": "BE", "name": "Belgium" }, { "code": "AW", "name": "Aruba", "phonePrefix": "297" },
{ "code": "BF", "name": "Burkina Faso" }, { "code": "AX", "name": "Åland Islands", "phonePrefix": "358" },
{ "code": "BG", "name": "Bulgaria" }, { "code": "AZ", "name": "Azerbaijan", "phonePrefix": "994" },
{ "code": "BH", "name": "Bahrain" }, { "code": "BA", "name": "Bosnia and Herzegovina", "phonePrefix": "387" },
{ "code": "BI", "name": "Burundi" }, { "code": "BB", "name": "Barbados", "phonePrefix": "1-246" },
{ "code": "BJ", "name": "Benin" }, { "code": "BD", "name": "Bangladesh", "phonePrefix": "880" },
{ "code": "BL", "name": "Saint Barthélemy" }, { "code": "BE", "name": "Belgium", "phonePrefix": "32" },
{ "code": "BM", "name": "Bermuda" }, { "code": "BF", "name": "Burkina Faso", "phonePrefix": "226" },
{ "code": "BN", "name": "Brunei Darussalam" }, { "code": "BG", "name": "Bulgaria", "phonePrefix": "359" },
{ "code": "BO", "name": "Bolivia, Plurinational State of" }, { "code": "BH", "name": "Bahrain", "phonePrefix": "973" },
{ "code": "BQ", "name": "Bonaire, Sint Eustatius and Saba" }, { "code": "BI", "name": "Burundi", "phonePrefix": "257" },
{ "code": "BR", "name": "Brazil" }, { "code": "BJ", "name": "Benin", "phonePrefix": "229" },
{ "code": "BS", "name": "Bahamas" }, { "code": "BL", "name": "Saint Barthélemy", "phonePrefix": "590" },
{ "code": "BT", "name": "Bhutan" }, { "code": "BM", "name": "Bermuda", "phonePrefix": "1-441" },
{ "code": "BV", "name": "Bouvet Island" }, { "code": "BN", "name": "Brunei Darussalam", "phonePrefix": "673" },
{ "code": "BW", "name": "Botswana" }, { "code": "BO", "name": "Bolivia, Plurinational State of", "phonePrefix": "591" },
{ "code": "BY", "name": "Belarus" }, { "code": "BQ", "name": "Bonaire, Sint Eustatius and Saba", "phonePrefix": "599" },
{ "code": "BZ", "name": "Belize" }, { "code": "BR", "name": "Brazil", "phonePrefix": "55" },
{ "code": "CA", "name": "Canada" }, { "code": "BS", "name": "Bahamas", "phonePrefix": "1-242" },
{ "code": "CC", "name": "Cocos (Keeling) Islands" }, { "code": "BT", "name": "Bhutan", "phonePrefix": "975" },
{ "code": "CD", "name": "Congo, Democratic Republic of the" }, { "code": "BV", "name": "Bouvet Island", "phonePrefix": "" },
{ "code": "CF", "name": "Central African Republic" }, { "code": "BW", "name": "Botswana", "phonePrefix": "267" },
{ "code": "CG", "name": "Congo" }, { "code": "BY", "name": "Belarus", "phonePrefix": "375" },
{ "code": "CH", "name": "Switzerland" }, { "code": "BZ", "name": "Belize", "phonePrefix": "501" },
{ "code": "CI", "name": "Côte d'Ivoire" }, { "code": "CA", "name": "Canada", "phonePrefix": "1" },
{ "code": "CK", "name": "Cook Islands" }, { "code": "CC", "name": "Cocos (Keeling) Islands", "phonePrefix": "61" },
{ "code": "CL", "name": "Chile" }, { "code": "CD", "name": "Congo, Democratic Republic of the", "phonePrefix": "243" },
{ "code": "CM", "name": "Cameroon" }, { "code": "CF", "name": "Central African Republic", "phonePrefix": "236" },
{ "code": "CN", "name": "China" }, { "code": "CG", "name": "Congo", "phonePrefix": "242" },
{ "code": "CO", "name": "Colombia" }, { "code": "CH", "name": "Switzerland", "phonePrefix": "41" },
{ "code": "CR", "name": "Costa Rica" }, { "code": "CI", "name": "Côte d'Ivoire", "phonePrefix": "225" },
{ "code": "CU", "name": "Cuba" }, { "code": "CK", "name": "Cook Islands", "phonePrefix": "682" },
{ "code": "CV", "name": "Cabo Verde" }, { "code": "CL", "name": "Chile", "phonePrefix": "56" },
{ "code": "CW", "name": "Curaçao" }, { "code": "CM", "name": "Cameroon", "phonePrefix": "237" },
{ "code": "CX", "name": "Christmas Island" }, { "code": "CN", "name": "China", "phonePrefix": "86" },
{ "code": "CY", "name": "Cyprus" }, { "code": "CO", "name": "Colombia", "phonePrefix": "57" },
{ "code": "CZ", "name": "Czechia" }, { "code": "CR", "name": "Costa Rica", "phonePrefix": "506" },
{ "code": "DE", "name": "Germany" }, { "code": "CU", "name": "Cuba", "phonePrefix": "53" },
{ "code": "DJ", "name": "Djibouti" }, { "code": "CV", "name": "Cabo Verde", "phonePrefix": "238" },
{ "code": "DK", "name": "Denmark" }, { "code": "CW", "name": "Curaçao", "phonePrefix": "599" },
{ "code": "DM", "name": "Dominica" }, { "code": "CX", "name": "Christmas Island", "phonePrefix": "61" },
{ "code": "DO", "name": "Dominican Republic" }, { "code": "CY", "name": "Cyprus", "phonePrefix": "357" },
{ "code": "DZ", "name": "Algeria" }, { "code": "CZ", "name": "Czechia", "phonePrefix": "420" },
{ "code": "EC", "name": "Ecuador" }, { "code": "DE", "name": "Germany", "phonePrefix": "49" },
{ "code": "EE", "name": "Estonia" }, { "code": "DJ", "name": "Djibouti", "phonePrefix": "253" },
{ "code": "EG", "name": "Egypt" }, { "code": "DK", "name": "Denmark", "phonePrefix": "45" },
{ "code": "EH", "name": "Western Sahara" }, { "code": "DM", "name": "Dominica", "phonePrefix": "1-767" },
{ "code": "ER", "name": "Eritrea" }, { "code": "DO", "name": "Dominican Republic", "phonePrefix": "1-809" },
{ "code": "ES", "name": "Spain" }, { "code": "DZ", "name": "Algeria", "phonePrefix": "213" },
{ "code": "ET", "name": "Ethiopia" }, { "code": "EC", "name": "Ecuador", "phonePrefix": "593" },
{ "code": "FI", "name": "Finland" }, { "code": "EE", "name": "Estonia", "phonePrefix": "372" },
{ "code": "FJ", "name": "Fiji" }, { "code": "EG", "name": "Egypt", "phonePrefix": "20" },
{ "code": "FK", "name": "Falkland Islands (Malvinas)" }, { "code": "EH", "name": "Western Sahara", "phonePrefix": "212" },
{ "code": "FM", "name": "Micronesia, Federated States of" }, { "code": "ER", "name": "Eritrea", "phonePrefix": "291" },
{ "code": "FO", "name": "Faroe Islands" }, { "code": "ES", "name": "Spain", "phonePrefix": "34" },
{ "code": "FR", "name": "France" }, { "code": "ET", "name": "Ethiopia", "phonePrefix": "251" },
{ "code": "GA", "name": "Gabon" }, { "code": "FI", "name": "Finland", "phonePrefix": "358" },
{ "code": "GB", "name": "United Kingdom of Great Britain and Northern Ireland" }, { "code": "FJ", "name": "Fiji", "phonePrefix": "679" },
{ "code": "GD", "name": "Grenada" }, { "code": "FK", "name": "Falkland Islands (Malvinas)", "phonePrefix": "500" },
{ "code": "GE", "name": "Georgia" }, { "code": "FM", "name": "Micronesia, Federated States of", "phonePrefix": "691" },
{ "code": "GF", "name": "French Guiana" }, { "code": "FO", "name": "Faroe Islands", "phonePrefix": "298" },
{ "code": "GG", "name": "Guernsey" }, { "code": "FR", "name": "France", "phonePrefix": "33" },
{ "code": "GH", "name": "Ghana" }, { "code": "GA", "name": "Gabon", "phonePrefix": "241" },
{ "code": "GI", "name": "Gibraltar" }, { "code": "GB", "name": "United Kingdom", "phonePrefix": "44" },
{ "code": "GL", "name": "Greenland" }, { "code": "GD", "name": "Grenada", "phonePrefix": "1-473" },
{ "code": "GM", "name": "Gambia" }, { "code": "GE", "name": "Georgia", "phonePrefix": "995" },
{ "code": "GN", "name": "Guinea" }, { "code": "GF", "name": "French Guiana", "phonePrefix": "594" },
{ "code": "GP", "name": "Guadeloupe" }, { "code": "GG", "name": "Guernsey", "phonePrefix": "44" },
{ "code": "GQ", "name": "Equatorial Guinea" }, { "code": "GH", "name": "Ghana", "phonePrefix": "233" },
{ "code": "GR", "name": "Greece" }, { "code": "GI", "name": "Gibraltar", "phonePrefix": "350" },
{ "code": "GS", "name": "South Georgia and the South Sandwich Islands" }, { "code": "GL", "name": "Greenland", "phonePrefix": "299" },
{ "code": "GT", "name": "Guatemala" }, { "code": "GM", "name": "Gambia", "phonePrefix": "220" },
{ "code": "GU", "name": "Guam" }, { "code": "GN", "name": "Guinea", "phonePrefix": "224" },
{ "code": "GW", "name": "Guinea-Bissau" }, { "code": "GP", "name": "Guadeloupe", "phonePrefix": "590" },
{ "code": "GY", "name": "Guyana" }, { "code": "GQ", "name": "Equatorial Guinea", "phonePrefix": "240" },
{ "code": "HK", "name": "Hong Kong" }, { "code": "GR", "name": "Greece", "phonePrefix": "30" },
{ "code": "HM", "name": "Heard Island and McDonald Islands" }, { "code": "GS", "name": "South Georgia and the South Sandwich Islands", "phonePrefix": "" },
{ "code": "HN", "name": "Honduras" }, { "code": "GT", "name": "Guatemala", "phonePrefix": "502" },
{ "code": "HR", "name": "Croatia" }, { "code": "GU", "name": "Guam", "phonePrefix": "1-671" },
{ "code": "HT", "name": "Haiti" }, { "code": "GW", "name": "Guinea-Bissau", "phonePrefix": "245" },
{ "code": "HU", "name": "Hungary" }, { "code": "GY", "name": "Guyana", "phonePrefix": "592" },
{ "code": "ID", "name": "Indonesia" }, { "code": "HK", "name": "Hong Kong", "phonePrefix": "852" },
{ "code": "IE", "name": "Ireland" }, { "code": "HM", "name": "Heard Island and McDonald Islands", "phonePrefix": "" },
{ "code": "IL", "name": "Israel" }, { "code": "HN", "name": "Honduras", "phonePrefix": "504" },
{ "code": "IM", "name": "Isle of Man" }, { "code": "HR", "name": "Croatia", "phonePrefix": "385" },
{ "code": "IN", "name": "India" }, { "code": "HT", "name": "Haiti", "phonePrefix": "509" },
{ "code": "IO", "name": "British Indian Ocean Territory" }, { "code": "HU", "name": "Hungary", "phonePrefix": "36" },
{ "code": "IQ", "name": "Iraq" }, { "code": "ID", "name": "Indonesia", "phonePrefix": "62" },
{ "code": "IR", "name": "Iran, Islamic Republic of" }, { "code": "IE", "name": "Ireland", "phonePrefix": "353" },
{ "code": "IS", "name": "Iceland" }, { "code": "IL", "name": "Israel", "phonePrefix": "972" },
{ "code": "IT", "name": "Italy" }, { "code": "IM", "name": "Isle of Man", "phonePrefix": "44" },
{ "code": "JE", "name": "Jersey" }, { "code": "IN", "name": "India", "phonePrefix": "91" },
{ "code": "JM", "name": "Jamaica" }, { "code": "IO", "name": "British Indian Ocean Territory", "phonePrefix": "246" },
{ "code": "JO", "name": "Jordan" }, { "code": "IQ", "name": "Iraq", "phonePrefix": "964" },
{ "code": "JP", "name": "Japan" }, { "code": "IR", "name": "Iran, Islamic Republic of", "phonePrefix": "98" },
{ "code": "KE", "name": "Kenya" }, { "code": "IS", "name": "Iceland", "phonePrefix": "354" },
{ "code": "KG", "name": "Kyrgyzstan" }, { "code": "IT", "name": "Italy", "phonePrefix": "39" },
{ "code": "KH", "name": "Cambodia" }, { "code": "JE", "name": "Jersey", "phonePrefix": "44" },
{ "code": "KI", "name": "Kiribati" }, { "code": "JM", "name": "Jamaica", "phonePrefix": "1-876" },
{ "code": "KM", "name": "Comoros" }, { "code": "JO", "name": "Jordan", "phonePrefix": "962" },
{ "code": "KN", "name": "Saint Kitts and Nevis" }, { "code": "JP", "name": "Japan", "phonePrefix": "81" },
{ "code": "KP", "name": "Korea, Democratic People's Republic of" }, { "code": "KE", "name": "Kenya", "phonePrefix": "254" },
{ "code": "KR", "name": "Korea, Republic of" }, { "code": "KG", "name": "Kyrgyzstan", "phonePrefix": "996" },
{ "code": "KW", "name": "Kuwait" }, { "code": "KH", "name": "Cambodia", "phonePrefix": "855" },
{ "code": "KY", "name": "Cayman Islands" }, { "code": "KI", "name": "Kiribati", "phonePrefix": "686" },
{ "code": "KZ", "name": "Kazakhstan" }, { "code": "KM", "name": "Comoros", "phonePrefix": "269" },
{ "code": "LA", "name": "Lao People's Democratic Republic" }, { "code": "KN", "name": "Saint Kitts and Nevis", "phonePrefix": "1-869" },
{ "code": "LB", "name": "Lebanon" }, { "code": "KP", "name": "Korea, Democratic People's Republic of", "phonePrefix": "850" },
{ "code": "LC", "name": "Saint Lucia" }, { "code": "KR", "name": "Korea, Republic of", "phonePrefix": "82" },
{ "code": "LI", "name": "Liechtenstein" }, { "code": "KW", "name": "Kuwait", "phonePrefix": "965" },
{ "code": "LK", "name": "Sri Lanka" }, { "code": "KY", "name": "Cayman Islands", "phonePrefix": "1-345" },
{ "code": "LR", "name": "Liberia" }, { "code": "KZ", "name": "Kazakhstan", "phonePrefix": "7" },
{ "code": "LS", "name": "Lesotho" }, { "code": "LA", "name": "Lao People's Democratic Republic", "phonePrefix": "856" },
{ "code": "LT", "name": "Lithuania" }, { "code": "LB", "name": "Lebanon", "phonePrefix": "961" },
{ "code": "LU", "name": "Luxembourg" }, { "code": "LC", "name": "Saint Lucia", "phonePrefix": "1-758" },
{ "code": "LV", "name": "Latvia" }, { "code": "LI", "name": "Liechtenstein", "phonePrefix": "423" },
{ "code": "LY", "name": "Libya" }, { "code": "LK", "name": "Sri Lanka", "phonePrefix": "94" },
{ "code": "MA", "name": "Morocco" }, { "code": "LR", "name": "Liberia", "phonePrefix": "231" },
{ "code": "MC", "name": "Monaco" }, { "code": "LS", "name": "Lesotho", "phonePrefix": "266" },
{ "code": "MD", "name": "Moldova, Republic of" }, { "code": "LT", "name": "Lithuania", "phonePrefix": "370" },
{ "code": "ME", "name": "Montenegro" }, { "code": "LU", "name": "Luxembourg", "phonePrefix": "352" },
{ "code": "MF", "name": "Saint Martin, (French part)" }, { "code": "LV", "name": "Latvia", "phonePrefix": "371" },
{ "code": "MG", "name": "Madagascar" }, { "code": "LY", "name": "Libya", "phonePrefix": "218" },
{ "code": "MH", "name": "Marshall Islands" }, { "code": "MA", "name": "Morocco", "phonePrefix": "212" },
{ "code": "MK", "name": "North Macedonia" }, { "code": "MC", "name": "Monaco", "phonePrefix": "377" },
{ "code": "ML", "name": "Mali" }, { "code": "MD", "name": "Moldova, Republic of", "phonePrefix": "373" },
{ "code": "MM", "name": "Myanmar" }, { "code": "ME", "name": "Montenegro", "phonePrefix": "382" },
{ "code": "MN", "name": "Mongolia" }, { "code": "MF", "name": "Saint Martin (French part)", "phonePrefix": "590" },
{ "code": "MO", "name": "Macao" }, { "code": "MG", "name": "Madagascar", "phonePrefix": "261" },
{ "code": "MP", "name": "Northern Mariana Islands" }, { "code": "MH", "name": "Marshall Islands", "phonePrefix": "692" },
{ "code": "MQ", "name": "Martinique" }, { "code": "MK", "name": "Macedonia, Republic of", "phonePrefix": "389" },
{ "code": "MR", "name": "Mauritania" }, { "code": "ML", "name": "Mali", "phonePrefix": "223" },
{ "code": "MS", "name": "Montserrat" }, { "code": "MM", "name": "Myanmar", "phonePrefix": "95" },
{ "code": "MT", "name": "Malta" }, { "code": "MN", "name": "Mongolia", "phonePrefix": "976" },
{ "code": "MU", "name": "Mauritius" }, { "code": "MO", "name": "Macao", "phonePrefix": "853" },
{ "code": "MV", "name": "Maldives" }, { "code": "MP", "name": "Northern Mariana Islands", "phonePrefix": "1-670" },
{ "code": "MW", "name": "Malawi" }, { "code": "MQ", "name": "Martinique", "phonePrefix": "596" },
{ "code": "MX", "name": "Mexico" }, { "code": "MR", "name": "Mauritania", "phonePrefix": "222" },
{ "code": "MY", "name": "Malaysia" }, { "code": "MS", "name": "Montserrat", "phonePrefix": "1-664" },
{ "code": "MZ", "name": "Mozambique" }, { "code": "MT", "name": "Malta", "phonePrefix": "356" },
{ "code": "NA", "name": "Namibia" }, { "code": "MU", "name": "Mauritius", "phonePrefix": "230" },
{ "code": "NC", "name": "New Caledonia" }, { "code": "MV", "name": "Maldives", "phonePrefix": "960" },
{ "code": "NE", "name": "Niger" }, { "code": "MW", "name": "Malawi", "phonePrefix": "265" },
{ "code": "NF", "name": "Norfolk Island" }, { "code": "MX", "name": "Mexico", "phonePrefix": "52" },
{ "code": "NG", "name": "Nigeria" }, { "code": "MY", "name": "Malaysia", "phonePrefix": "60" },
{ "code": "NI", "name": "Nicaragua" }, { "code": "MZ", "name": "Mozambique", "phonePrefix": "258" },
{ "code": "NL", "name": "Netherlands" }, { "code": "NA", "name": "Namibia", "phonePrefix": "264" },
{ "code": "NO", "name": "Norway" }, { "code": "NC", "name": "New Caledonia", "phonePrefix": "687" },
{ "code": "NP", "name": "Nepal" }, { "code": "NE", "name": "Niger", "phonePrefix": "227" },
{ "code": "NR", "name": "Nauru" }, { "code": "NF", "name": "Norfolk Island", "phonePrefix": "672" },
{ "code": "NU", "name": "Niue" }, { "code": "NG", "name": "Nigeria", "phonePrefix": "234" },
{ "code": "NZ", "name": "New Zealand" }, { "code": "NI", "name": "Nicaragua", "phonePrefix": "505" },
{ "code": "OM", "name": "Oman" }, { "code": "NL", "name": "Netherlands", "phonePrefix": "31" },
{ "code": "PA", "name": "Panama" }, { "code": "NO", "name": "Norway", "phonePrefix": "47" },
{ "code": "PE", "name": "Peru" }, { "code": "NP", "name": "Nepal", "phonePrefix": "977" },
{ "code": "PF", "name": "French Polynesia" }, { "code": "NR", "name": "Nauru", "phonePrefix": "674" },
{ "code": "PG", "name": "Papua New Guinea" }, { "code": "NU", "name": "Niue", "phonePrefix": "683" },
{ "code": "PH", "name": "Philippines" }, { "code": "NZ", "name": "New Zealand", "phonePrefix": "64" },
{ "code": "PK", "name": "Pakistan" }, { "code": "OM", "name": "Oman", "phonePrefix": "968" },
{ "code": "PL", "name": "Poland" }, { "code": "PA", "name": "Panama", "phonePrefix": "507" },
{ "code": "PM", "name": "Saint Pierre and Miquelon" }, { "code": "PE", "name": "Peru", "phonePrefix": "51" },
{ "code": "PN", "name": "Pitcairn" }, { "code": "PF", "name": "French Polynesia", "phonePrefix": "689" },
{ "code": "PR", "name": "Puerto Rico" }, { "code": "PG", "name": "Papua New Guinea", "phonePrefix": "675" },
{ "code": "PS", "name": "Palestine, State of" }, { "code": "PH", "name": "Philippines", "phonePrefix": "63" },
{ "code": "PT", "name": "Portugal" }, { "code": "PK", "name": "Pakistan", "phonePrefix": "92" },
{ "code": "PW", "name": "Palau" }, { "code": "PL", "name": "Poland", "phonePrefix": "48" },
{ "code": "PY", "name": "Paraguay" }, { "code": "PM", "name": "Saint Pierre and Miquelon", "phonePrefix": "508" },
{ "code": "QA", "name": "Qatar" }, { "code": "PN", "name": "Pitcairn", "phonePrefix": "64" },
{ "code": "RE", "name": "Réunion" }, { "code": "PR", "name": "Puerto Rico", "phonePrefix": "1-787" },
{ "code": "RO", "name": "Romania" }, { "code": "PS", "name": "Palestinian Territory, Occupied", "phonePrefix": "970" },
{ "code": "RS", "name": "Serbia" }, { "code": "PT", "name": "Portugal", "phonePrefix": "351" },
{ "code": "RU", "name": "Russian Federation" }, { "code": "PW", "name": "Palau", "phonePrefix": "680" },
{ "code": "RW", "name": "Rwanda" }, { "code": "PY", "name": "Paraguay", "phonePrefix": "595" },
{ "code": "SA", "name": "Saudi Arabia" }, { "code": "QA", "name": "Qatar", "phonePrefix": "974" },
{ "code": "SB", "name": "Solomon Islands" }, { "code": "RE", "name": "Réunion", "phonePrefix": "262" },
{ "code": "SC", "name": "Seychelles" }, { "code": "RO", "name": "Romania", "phonePrefix": "40" },
{ "code": "SD", "name": "Sudan" }, { "code": "RS", "name": "Serbia", "phonePrefix": "381" },
{ "code": "SE", "name": "Sweden" }, { "code": "RU", "name": "Russian Federation", "phonePrefix": "7" },
{ "code": "SG", "name": "Singapore" }, { "code": "RW", "name": "Rwanda", "phonePrefix": "250" },
{ "code": "SH", "name": "Saint Helena, Ascension and Tristan da Cunha" }, { "code": "SA", "name": "Saudi Arabia", "phonePrefix": "966" },
{ "code": "SI", "name": "Slovenia" }, { "code": "SB", "name": "Solomon Islands", "phonePrefix": "677" },
{ "code": "SJ", "name": "Svalbard and Jan Mayen" }, { "code": "SC", "name": "Seychelles", "phonePrefix": "248" },
{ "code": "SK", "name": "Slovakia" }, { "code": "SD", "name": "Sudan", "phonePrefix": "249" },
{ "code": "SL", "name": "Sierra Leone" }, { "code": "SE", "name": "Sweden", "phonePrefix": "46" },
{ "code": "SM", "name": "San Marino" }, { "code": "SG", "name": "Singapore", "phonePrefix": "65" },
{ "code": "SN", "name": "Senegal" }, { "code": "SH", "name": "Saint Helena", "phonePrefix": "290" },
{ "code": "SO", "name": "Somalia" }, { "code": "SI", "name": "Slovenia", "phonePrefix": "386" },
{ "code": "SR", "name": "Suriname" }, { "code": "SJ", "name": "Svalbard and Jan Mayen", "phonePrefix": "47" },
{ "code": "SS", "name": "South Sudan" }, { "code": "SK", "name": "Slovakia", "phonePrefix": "421" },
{ "code": "ST", "name": "Sao Tome and Principe" }, { "code": "SL", "name": "Sierra Leone", "phonePrefix": "232" },
{ "code": "SV", "name": "El Salvador" }, { "code": "SM", "name": "San Marino", "phonePrefix": "378" },
{ "code": "SX", "name": "Sint Maarten, (Dutch part)" }, { "code": "SN", "name": "Senegal", "phonePrefix": "221" },
{ "code": "SY", "name": "Syrian Arab Republic" }, { "code": "SO", "name": "Somalia", "phonePrefix": "252" },
{ "code": "SZ", "name": "Eswatini" }, { "code": "SR", "name": "Suriname", "phonePrefix": "597" },
{ "code": "TC", "name": "Turks and Caicos Islands" }, { "code": "SS", "name": "South Sudan", "phonePrefix": "211" },
{ "code": "TD", "name": "Chad" }, { "code": "ST", "name": "Sao Tome and Principe", "phonePrefix": "239" },
{ "code": "TF", "name": "French Southern Territories" }, { "code": "SV", "name": "El Salvador", "phonePrefix": "503" },
{ "code": "TG", "name": "Togo" }, { "code": "SX", "name": "Sint Maarten", "phonePrefix": "1-721" },
{ "code": "TH", "name": "Thailand" }, { "code": "SY", "name": "Syrian Arab Republic", "phonePrefix": "963" },
{ "code": "TJ", "name": "Tajikistan" }, { "code": "SZ", "name": "Swaziland", "phonePrefix": "268" },
{ "code": "TK", "name": "Tokelau" }, { "code": "TC", "name": "Turks and Caicos Islands", "phonePrefix": "1-649" },
{ "code": "TL", "name": "Timor-Leste" }, { "code": "TD", "name": "Chad", "phonePrefix": "235" },
{ "code": "TM", "name": "Turkmenistan" }, { "code": "TF", "name": "French Southern Territories", "phonePrefix": "" },
{ "code": "TN", "name": "Tunisia" }, { "code": "TG", "name": "Togo", "phonePrefix": "228" },
{ "code": "TO", "name": "Tonga" }, { "code": "TH", "name": "Thailand", "phonePrefix": "66" },
{ "code": "TR", "name": "Türkiye" }, { "code": "TJ", "name": "Tajikistan", "phonePrefix": "992" },
{ "code": "TT", "name": "Trinidad and Tobago" }, { "code": "TK", "name": "Tokelau", "phonePrefix": "690" },
{ "code": "TV", "name": "Tuvalu" }, { "code": "TL", "name": "Timor-Leste", "phonePrefix": "670" },
{ "code": "TW", "name": "Taiwan, Province of China" }, { "code": "TM", "name": "Turkmenistan", "phonePrefix": "993" },
{ "code": "TZ", "name": "Tanzania, United Republic of" }, { "code": "TN", "name": "Tunisia", "phonePrefix": "216" },
{ "code": "UA", "name": "Ukraine" }, { "code": "TO", "name": "Tonga", "phonePrefix": "676" },
{ "code": "UG", "name": "Uganda" }, { "code": "TR", "name": "Turkey", "phonePrefix": "90" },
{ "code": "UM", "name": "United States Minor Outlying Islands" }, { "code": "TT", "name": "Trinidad and Tobago", "phonePrefix": "1-868" },
{ "code": "US", "name": "United States of America" }, { "code": "TV", "name": "Tuvalu", "phonePrefix": "688" },
{ "code": "UY", "name": "Uruguay" }, { "code": "TW", "name": "Taiwan, Province of China", "phonePrefix": "886" },
{ "code": "UZ", "name": "Uzbekistan" }, { "code": "TZ", "name": "Tanzania, United Republic of", "phonePrefix": "255" },
{ "code": "VA", "name": "Holy See" }, { "code": "UA", "name": "Ukraine", "phonePrefix": "380" },
{ "code": "VC", "name": "Saint Vincent and the Grenadines" }, { "code": "UG", "name": "Uganda", "phonePrefix": "256" },
{ "code": "VE", "name": "Venezuela, Bolivarian Republic of" }, { "code": "UM", "name": "United States Minor Outlying Islands", "phonePrefix": "" },
{ "code": "VG", "name": "Virgin Islands, British" }, { "code": "US", "name": "United States", "phonePrefix": "1" },
{ "code": "VI", "name": "Virgin Islands, U.S." }, { "code": "UY", "name": "Uruguay", "phonePrefix": "598" },
{ "code": "VN", "name": "Viet Nam" }, { "code": "UZ", "name": "Uzbekistan", "phonePrefix": "998" },
{ "code": "VU", "name": "Vanuatu" }, { "code": "VA", "name": "Holy See", "phonePrefix": "379" },
{ "code": "WF", "name": "Wallis and Futuna" }, { "code": "VC", "name": "Saint Vincent and the Grenadines", "phonePrefix": "1-784" },
{ "code": "WS", "name": "Samoa" }, { "code": "VE", "name": "Venezuela, Bolivarian Republic of", "phonePrefix": "58" },
{ "code": "YE", "name": "Yemen" }, { "code": "VG", "name": "Virgin Islands, British", "phonePrefix": "1-284" },
{ "code": "YT", "name": "Mayotte" }, { "code": "VI", "name": "Virgin Islands, U.S.", "phonePrefix": "1-340" },
{ "code": "ZA", "name": "South Africa" }, { "code": "VN", "name": "Viet Nam", "phonePrefix": "84" },
{ "code": "ZM", "name": "Zambia" }, { "code": "VU", "name": "Vanuatu", "phonePrefix": "678" },
{ "code": "ZW", "name": "Zimbabwe" } { "code": "WF", "name": "Wallis and Futuna", "phonePrefix": "681" },
]; { "code": "WS", "name": "Samoa", "phonePrefix": "685" },
{ "code": "YE", "name": "Yemen", "phonePrefix": "967" },
{ "code": "YT", "name": "Mayotte", "phonePrefix": "262" },
{ "code": "ZA", "name": "South Africa", "phonePrefix": "27" },
{ "code": "ZM", "name": "Zambia", "phonePrefix": "260" },
{ "code": "ZW", "name": "Zimbabwe", "phonePrefix": "263" }
];
+1 -3
View File
@@ -1,3 +1 @@
import * as plugins from './smarti18n.plugins.js'; export * from './countrycodes.js';
export let demoExport = 'Hi there! :) This is an exported string';
+1 -4
View File
@@ -1,4 +1 @@
const removeme = {}; export {};
export {
removeme
}
+3 -1
View File
@@ -5,8 +5,10 @@
"target": "ES2022", "target": "ES2022",
"module": "NodeNext", "module": "NodeNext",
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"noImplicitAny": true,
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true "verbatimModuleSyntax": true,
"types": ["node"]
}, },
"exclude": [ "exclude": [
"dist_*/**/*.d.ts" "dist_*/**/*.d.ts"