0.0.2 • Published 12 years ago

jeocoder v0.0.2

Weekly downloads
7
License
-
Repository
github
Last release
12 years ago

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. :-1:

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