country-telephone-alpha2-data

Has country codes according to iso alpha2 and also telephone prefixes for for all countries in the world. PR very welcome

Usage no npm install needed!

<script type="module">
  import countryTelephoneAlpha2Data from 'https://cdn.skypack.dev/country-telephone-alpha2-data';
</script>

README

country-telephone-currency-data

Country data list country-telephone-alpha2-data for usage to reflect flag and phone prefix. As value to the server can bu used prefix or numeric country code. All data is according to iso

Data list adapted for usage with select for showing countries and flags using flag-icon-css

Inspired by country-telephone-data

Installation

Via npm:

npm install country-telephone-currency-data

Open in codesandbox.io

Data list contains:
        countryName: "Afghanistan (‫افغانستان‬‎)",
        id: "af",
        dialCode: "+93",
        countryCode: "004",
        currencyCode: "AFN",
        currencyName: "Afghani"
}