You can't disable the view counter xD
0
coodes - country-codes
version 1.0.0
0
downloads
Examples
npm i coodes-country-codes
From Alpha2
1
Code
const country = findCountryFromAlpha2("US") console.log(country) // returns: "United States of America"
Code
const country = findCountryFromAlpha3("USA") console.log(country) // returns: "United States of America"
From Alpha3
2
From Numeric
3
Code
const country = findCountryFromAlphaUN(840) console.log(country) // returns: "United States of America"
Code
const country = findAlpha2FromCountry("United States of America") console.log(country) // returns: "US"
To Alpha2
4
To Alpha3
5
Code
const country = findAlpha3FromCountry("United States of America") console.log(country) // returns: "USA"
Code
const country = findUNFromCountry("United States of America") console.log(country) // returns: "840"
To Numeric
6