# manhattan-distance

> manhattan distance for 2 lat lng

Latest version **0.0.3** (published 2019-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install manhattan-distance
pnpm add manhattan-distance
yarn add manhattan-distance
bun add manhattan-distance
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-05-21 |
| First published | 2019-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 10.15.1 |
| Dependencies | 1 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| Author | Rohini |
| Maintainers | rohinip |
| Keywords | manhattan |

## Links

- npm: https://www.npmjs.com/package/manhattan-distance
- Repository: https://github.com/rohini-p/manhattan
- Homepage: https://github.com/rohini-p/manhattan#readme
- Issues: https://github.com/rohini-p/manhattan/issues
- npm.io page: https://npm.io/package/manhattan-distance

## Dependencies (1)

- [express](https://npm.io/package/express.md) ~3.4.7

## Recent versions

- 0.0.3 (latest) — 2019-05-21
- 0.0.2 — 2019-05-21
- 0.0.1 — 2019-05-21

## README

Manhattan Distance
=========

A small library that calculate manhattan distance between 2 lat lngs

## Installation

  `npm install manhattan-distance`

## Usage

    var manhattan = require('manhattan-distance');

    var manhattanDistance = manhattan(12.795251, 80.198697,12.8708,80.1078);
  
  
  Output should be `18.51KM`


## Tests

  `npm test`

## Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

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