npm.io
0.0.2 • Published 13 years ago

jeocoder

Licence
Version
0.0.2
Deps
2
Vulns
4
Weekly
0

jeocoder

jeocoder is a geocoder, mapping a 5 digit zip code to a (city,state) tuple. it is self-contained and does not depend on any external services. the geocoder module name was already taken :|

Why not just use Google? It's against their TOS.

Setup

git clone git@github.com:jmonster/node-jeocoder.git
cd node-jeocoder && npm install
node app

Usage

GET /zips/:zipcode

Parameters

  • :zipcode a valid 5 digit US zip code

Example

GET /zips/15213
{
  "state": "PA",
  "city": "PITTSBURGH"
}

Support

Live Demo

http://jeocoder.herokuapp.com/zips/15213