0.0.9 • Published 6 years ago

full-countries-cities v0.0.9

Weekly downloads
612
License
ISC
Repository
-
Last release
6 years ago

countries-cities

A node module to get extensive country info, cities per country and ASN information per country.

Inspired by & thank you to:

Maroof Khan

Restcountries.eu

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.
0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago