city-and-state

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i city-and-state

Weekly Downloads

8

Version

2.0.0

License

ISC

Unpacked Size

9.99 MB

Total Files

8

Last publish

Collaborators

  • rook2pawn