# simple-reverse-geocoder

> Get address from a point

Latest version **2.0.1** (published 2018-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install simple-reverse-geocoder
pnpm add simple-reverse-geocoder
yarn add simple-reverse-geocoder
bun add simple-reverse-geocoder
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2018-09-22 |
| First published | 2016-02-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 2 |
| Unpacked size | 16.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Leonardo Gatica |
| Maintainers | lgatica |
| Keywords | reverse, geocoder |

## Links

- npm: https://www.npmjs.com/package/simple-reverse-geocoder
- Repository: https://github.com/lgaticaq/simple-reverse-geocoder
- Homepage: https://github.com/lgaticaq/simple-reverse-geocoder#readme
- Issues: https://github.com/lgaticaq/simple-reverse-geocoder/issues
- npm.io page: https://npm.io/package/simple-reverse-geocoder

## Dependencies (2)

- [ioredis](https://npm.io/package/ioredis.md) ^4.0.0
- [node-geocoder](https://npm.io/package/node-geocoder.md) ^3.22.0

## Recent versions

- 2.0.1 (latest) — 2018-09-22
- 2.0.0 — 2017-11-24
- 1.2.2 — 2016-06-23
- 1.2.1 — 2016-06-16
- 1.2.0 — 2016-06-16
- 1.1.0 — 2016-03-02
- 1.0.0 — 2016-02-29

## README

# simple-reverse-geocoder

[![npm version](https://img.shields.io/npm/v/simple-reverse-geocoder.svg)](https://www.npmjs.com/package/simple-reverse-geocoder)
[![npm downloads](https://img.shields.io/npm/dm/simple-reverse-geocoder.svg)](https://www.npmjs.com/package/simple-reverse-geocoder)
[![Build Status](https://img.shields.io/travis/lgaticaq/simple-reverse-geocoder.svg)](https://travis-ci.org/lgaticaq/simple-reverse-geocoder)
[![Coverage Status](https://img.shields.io/coveralls/lgaticaq/simple-reverse-geocoder/master.svg)](https://coveralls.io/github/lgaticaq/simple-reverse-geocoder?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/e70514e8e89c182b301d/maintainability)](https://codeclimate.com/github/lgaticaq/simple-reverse-geocoder/maintainability)
[![dependency Status](https://img.shields.io/david/lgaticaq/simple-reverse-geocoder.svg)](https://david-dm.org/lgaticaq/simple-reverse-geocoder#info=dependencies)
[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/simple-reverse-geocoder.svg)](https://david-dm.org/lgaticaq/simple-reverse-geocoder#info=devDependencies)

> Get address from a point

## Installation

```bash
npm i -S simple-reverse-geocoder
```

## Use

[Try on Tonic](https://tonicdev.com/npm/simple-reverse-geocoder)
```js
const rg = require('simple-reverse-geocoder')

const loc = { type: 'Point', coordinates: [-70.5171743, -33.3608387] }
rg.getAddress(loc).then(console.log); // 'Del Candil 665-701, Lo Barnechea'

// Add redis cache
rg.setCache('redis://localhost:6379/0')
const loc = { type: 'Point', coordinates: [-70.5171743, -33.3608387] }
rg.getAddress(loc).then(console.log); // 'Del Candil 665-701, Lo Barnechea'

// Add google apikey
const loc = { type: 'Point', coordinates: [-70.5171743, -33.3608387] }
const apiKey = 'myApiKey'
rg.getAddress(loc, apiKey).then(console.log); // 'Del Candil 665-701, Lo Barnechea'
```

## License

[MIT](https://tldrlegal.com/license/mit-license)

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