Skip to content

Give it a U.S. state, and it will give you an array of all the city names in that state

License

Notifications You must be signed in to change notification settings

markvandop/state-cities

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

State Cities


Give it a U.S. state, and it will give you an array of all the city names in that state

Add it

  1. $ npm install state-cities --save
var stateCities = require('state-cities');

Usage

Retrieve an array of all city names for a particular state

// Case insensitive
var cities = stateCities.getCities("Montana");
// or 
var cities = stateCities.getCities("North Carolina");

About

Give it a U.S. state, and it will give you an array of all the city names in that state

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%