# @danmmx/distance-between-points

> Calculate distance between two points

Latest version **1.0.3** (published 2018-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @danmmx/distance-between-points
pnpm add @danmmx/distance-between-points
yarn add @danmmx/distance-between-points
bun add @danmmx/distance-between-points
```

## 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-05-28 |
| First published | 2018-05-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Daniel Rocha |
| Maintainers | danmmx |
| Keywords | distance, points, calculate |

## Links

- npm: https://www.npmjs.com/package/@danmmx/distance-between-points
- Repository: https://github.com/DanMMX/distance-between-points
- Homepage: https://github.com/DanMMX/distance-between-points#readme
- Issues: https://github.com/DanMMX/distance-between-points/issues
- npm.io page: https://npm.io/package/@danmmx/distance-between-points

## Recent versions

- 1.0.3 (latest) — 2018-05-28
- 1.0.2 — 2018-05-28
- 1.0.1 — 2018-05-27
- 1.0.0 — 2018-05-27

## README

[![Travis](https://img.shields.io/travis/DanMMX/distance-between-points.svg)](https://travis-ci.org/DanMMX/distance-between-points)

# Calculate distance between two points

## Installation

`npm install distance-between-points`

## Usage

```

import calcDistance from 'distance-between-points'

const pointA = { x: 1, y: 1 }
const pointB = { x: 2, y: 2 }
const distance = calcDistance(pointA, pointB)

```

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