snowl
v1.0.2
Published
Snowl is a fully customised npm package that include data such as country names, codes, latitudes, longitudes etc.
Downloads
4
Readme
<--How to use this package-->
getCountries():
// The method return the list of countries in the world.
getCountry():
// It receives country code as parameter and returns specific country.
getLat():
// It receives country code as parameter and returns the country latitude.
getLong():
// The method receives country code as parameter and returns the country longitude.
getCodes():
// It returns the list of country codes in the world.
getCode():
// it receives country name e.g 'United States' as parameter and returns code for the country.