# geodistance-cal

> calculate disatnce between two coordinated

Latest version **1.1.2** (published 2020-01-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install geodistance-cal
pnpm add geodistance-cal
yarn add geodistance-cal
bun add geodistance-cal
```

## 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.1.2 |
| Published | 2020-01-25 |
| First published | 2020-01-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | yashwanth |
| Maintainers | yashwanth1796 |
| Keywords | lat, long, geodistance |

## Links

- npm: https://www.npmjs.com/package/geodistance-cal
- Repository: geodistance
- npm.io page: https://npm.io/package/geodistance-cal

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2020-01-25
- 1.1.1 — 2020-01-25
- 1.1.0 — 2020-01-25
- 1.0.0 — 2020-01-25

## README

## What is this?

To calculate distance between two latitudes and longitudes

## Installing

```sh
$ npm install geodistance

```
## Building bundled/minified version (for AMD, etc)

First run `npm install` to get all of the dependencies, and then run `make`:

```sh
$ npm install
$ make
```

The bundled and minified files will be in the generated `build` directory.

## Getting Started

var distance = require('geodistance');
```
var latLong1 = {
lat: '',
lng: ''
}
var latLong2 = {
lat: '',
lng: ''
}
var calDistance = distance(latLong1, latLong2)

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