0.0.9 • Published 6 years ago
full-countries-cities v0.0.9
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.