# coords-to-zip

> Provide a latitude and longitude, get a zip code back

Latest version **1.0.3** (published 2018-07-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install coords-to-zip
pnpm add coords-to-zip
yarn add coords-to-zip
bun add coords-to-zip
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-07-24 |
| First published | 2018-07-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nicholas P Smith |
| Maintainers | nicholaspsmith |
| Keywords | geolocation, latitude, longitude, zipcode, zip, code |

## Links

- npm: https://www.npmjs.com/package/coords-to-zip
- Repository: https://github.com/nicholaspsmith/coords-to-zip
- Homepage: https://github.com/nicholaspsmith/coords-to-zip#readme
- Issues: https://github.com/nicholaspsmith/coords-to-zip/issues
- npm.io page: https://npm.io/package/coords-to-zip

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.15.3

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2018-07-24
- 1.0.2 — 2018-07-24
- 1.0.1 — 2018-07-24
- 1.0.0 — 2018-07-24

## README

# Coords To Zip

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

### Installing

`npm install coords-to-zip`


### Usage
```javascript
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
```javascript
const zip = coordsToZip({ latitude, longitude });
```

## Versioning

We use [SemVer](http://semver.org/). 

## License

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

---
_Source: https://npm.io/package/coords-to-zip · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
