# 2d-polygon-area

> compute the area of a 2d polygon

Latest version **1.0.0** (published 2015-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install 2d-polygon-area
pnpm add 2d-polygon-area
yarn add 2d-polygon-area
bun add 2d-polygon-area
```

## 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.0 |
| Published | 2015-04-23 |
| First published | 2015-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Elijah Insua |
| Maintainers | tmpvar |
| Keywords | 2d, polygon, area |

## Links

- npm: https://www.npmjs.com/package/2d-polygon-area
- Repository: https://github.com/tmpvar/2d-polygon-area
- Issues: https://github.com/tmpvar/2d-polygon-area/issues
- npm.io page: https://npm.io/package/2d-polygon-area

## Recent versions

- 1.0.0 (latest) — 2015-04-23

## README

# 2d-polygon-area

compute the area of a 2d polygon

# install 

`npm install 2d-polygon-area`

# use

```
var square = [
[0, 0],
[10, 0],
[10, 10],
[0, 10]
].reverse();

console.log(area(square));

// outputs: 100
```

# license

[MIT](LICENSE.txt)

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