sjlu / cities

Lookup cities based on zipcodes or GPS coordinates
https://www.npmjs.com/package/cities
27 stars 15 forks source link

findByCityAndState should return multiple locations #11

Open callmewa opened 8 years ago

callmewa commented 8 years ago

For cities with more than 1 zipcode it should return all of those locations

sjlu commented 8 years ago

Yeah, overlooked this one. I'll have to do a major version release to support this as the output of this function will drastically change.

Also open to PRs if you're willing to add it in.

callmewa commented 8 years ago

Zipcodes https://github.com/davglass/zipcodes currents provides this functionality. I think the code is just a drop in