country-list-translate-json
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

List of countries in json format that includes country dial code, country abbreviation and flag.

Get Started

  • npm install country-list-translate-json

Importing TypeScript types

import { countries , key_countries } from 'country-list-translate-json';

Get arabic country name

  • countries.name_ar

Get dial code

  • countries.dial_code

Get country code

  • countries.code

Get country flag

  • countries.flag

Usage

access it one time through key_countries

  • key_countries.Egypt or key_countries['Egypt']

Data Example

  {
    name_ar: "مصر",
    dial_code: "+20",
    code: "EG",
    flag: "🇪🇬"
  },

Package Sidebar

Install

npm i country-list-translate-json

Weekly Downloads

7

Version

1.0.2

License

ISC

Unpacked Size

46.5 kB

Total Files

4

Last publish

Collaborators

  • hassan_elshazly