jeocoder

0.0.2 • Public • Published

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

/jeocoder/

    Package Sidebar

    Install

    npm i jeocoder

    Weekly Downloads

    4

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • jmonster