1.0.5 • Published 3 years ago

usastatecitylist v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

USA State & City List

A complete (almost 😉) list of US states and their cities.

Installation

Use the package manager npm to install.

npm install usastatecitylist

Usage

const data = require("usastatecitylist");
  1. GetState(): returns an Array of states
const states = data.GetState();
  1. GetCities(): returns an Array of cities for a parameter passed for state
const cities = data.GetCities("Alaska");

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago