full-countries-cities
v0.0.9
Published
Extensive country, city and ASN information
Readme
countries-cities
A node module to get extensive country info, cities per country and ASN information per country.
Inspired by & thank you to:
Example usage
var countries = require ('full-countries-cities').getCountries(); // Returns a full array of country information.
var countriesNames = require ('full-countries-cities').getCountryNames(); // Returns a full array of only the country names.
var cities = require ('full-countries-cities').getCities(country_name); // Returns an array of city names of the particular country.
var regions = require ('full-countries-cities').getRegions(country_code); // Returns an array of region of the particular country.
var asn = require ('full-countries-cities').getASNS(country_name); // Returns an array of ASN of the particular country.