https://github.com/maxchehab/zipcodes2016
Package provides city and state correlating to provided zipcode (last updated 2016).
https://github.com/maxchehab/zipcodes2016
Last synced: about 1 month ago
JSON representation
Package provides city and state correlating to provided zipcode (last updated 2016).
- Host: GitHub
- URL: https://github.com/maxchehab/zipcodes2016
- Owner: maxchehab
- Created: 2017-11-19T04:28:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T04:32:46.000Z (over 7 years ago)
- Last Synced: 2025-03-18T16:55:59.300Z (about 2 months ago)
- Language: JavaScript
- Size: 334 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
zipcodes2016
=======Node module to easily lookup city and state for a US zipcode
Install using npm:
npm install zipcodes2016
```javascript
var zipcode = require('zipcodes2016');// returns data in [city, state] format
zipcode.lookup('97703'); // ['Bend','OR']// if zipcode is invalid, null will be returned
zipcode.lookup('invalid'); // null
```## License
MIT