city-and-state
v2.0.0
Published
A very comprehensive city and state API.
Downloads
31
Maintainers
Readme
city-and-state
A very comprehensive city and state API.
install
npm i --save city-and-state
usage
const CityState = require("city-and-state");
const cityState = new CityState();
cityState.getStates(); // get list of all states i.e. ['Alaska', ... ,'Wyoming']
cityState.getCitiesOfState("Indiana"); // get list of all cities in Indiana with timezones
license
isc/bsd