latlng-to-zip

0.0.2 • Public • Published

latlng-to-zip

Convert longitude and latitude to a zipcode. Requires use of Google's Geocoding API

Installation

npm install latlng-to-zip

Getting Starting

const reverseGeocode = require('latlng-to-zip');
reverseGeocode({latitude, longitude}, key)
  .then(zipcode => zipcode)
  .catch(err => err);

Testing

npm test

Package Sidebar

Install

npm i latlng-to-zip

Weekly Downloads

10

Version

0.0.2

License

MIT

Unpacked Size

3.04 kB

Total Files

4

Last publish

Collaborators

  • abarlow85