Skip to content

jarredwitt/node-ziptastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ziptastic

ziptastic for node...

Promised based browserify node module for Ziptastic.

Usage

var ziptastic = require('ziptastic');

var query = {
  zip: 12345,
  country: 'US'
};

ziptastic(query).then(function(result){
  \\result is an object containing city, country, county, state, state_short, postal_code
});

or

var ziptastic = require('ziptastic');

//country defaults to US when only zip is provided
ziptastic(12345).then(function(result){
  \\result is an object containing city, country, county, state, state_short, postal_code
});

About

ziptastic for node...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published