coords-to-zip

1.0.3 • Public • Published

Coords To Zip

Pass in a latitude and longitude, get back a zip using Google Geocoding API!

Installing

npm install coords-to-zip

Usage

import coordsToZip from 'coords-to-zip'

const latitude = 123
const longitude = 456
const API_KEY = 'your-google-api-key'

const zip = coordsToZip({ latitude, longitude }, API_KEY)

You can also use without an API key but will be subject to default rate limiting

const zip = coordsToZip({ latitude, longitude });

Versioning

We use SemVer.

License

This project is licensed under the ISC License - see the LICENSE.md file for details

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i coords-to-zip

    Weekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    3.27 kB

    Total Files

    4

    Last publish

    Collaborators

    • nicholaspsmith