1.0.3 • Published 12 months ago

country-data-helpers v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months 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

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago