List of countries with arabic and english translation in json format that includes country dial code, country abbreviation and flag.
npm install country-list-translate-jsonList of countries in json format that includes country dial code, country abbreviation and flag.
- npm install country-list-translate-json
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: "🇪🇬"
},
``