4.0.0 • Published 5 years ago

country_city_regions v4.0.0

Weekly downloads
10
License
ISC
Repository
-
Last release
5 years ago

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