1.0.3 • Published 3 years ago

country-data-helpers v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

exports getCountryDataByCountryName class with 2 methods, getAllData and getCountryCodeByCountryName. getAllData returns an array containing all available data about each country based on the following csv file: https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv

getCountryDataByCountryName method takes in one parameter as an argument, a string of the country name, the first letter of each appropriate word being capitalized, and returns the ISO-3166 country code for that country.

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago