country_city_regions
v4.0.0
Published
Countries and there relevent cities and their regions. There are few countries which have regions included as well
Downloads
49
Maintainers
Readme
countries-cities
A node module to get countries and their related cities.
Example usage
var countries = require ('countries_cities_regions');
var getCountries = countries.getCountries(); // Returns an array of country names.
var getCities = countries.getCities(country_name); // Returns an array of city names of the particualr country.
var getRegionsIfProvided = countries.getCityRegions("India"); // Returns an array of region names of the particualr country.
var getCitiesIfRegionNotProvided = countries.getCityRegions("Vietnam"); // Returns an array of city names of the particualr country with region node.
# xelpmoc_countries_cities
# Added vietnam as normal flow