# triangle-area-fast

> quickly get area of 3d triangle, using cross-product

Latest version **0.0.25** (published 2022-04-05) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install triangle-area-fast
pnpm add triangle-area-fast
yarn add triangle-area-fast
bun add triangle-area-fast
```

## 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.25 |
| Published | 2022-04-05 |
| First published | 2021-10-12 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | stonkpunk |
| Maintainers | stonkpunk |
| Keywords | triangle, area, 3d, cross product |

## Links

- npm: https://www.npmjs.com/package/triangle-area-fast
- Homepage: https://github.com/stonkpunk/my-npm-modules/tree/main/triangle-area-fast
- npm.io page: https://npm.io/package/triangle-area-fast

## Recent versions

- 0.0.25 (latest) — 2022-04-05
- 0.0.24 — 2021-10-29
- 0.0.23 — 2021-10-29
- 0.0.22 — 2021-10-20
- 0.0.21 — 2021-10-17
- 0.0.2 — 2021-10-12
- 0.0.1 — 2021-10-12

## README

# triangle-area-fast

quickly get the area of a 3d triangle (using cross-product)

## Installation

```sh
npm i triangle-area-fast
```

## Usage 

```javascript
var taf = require('triangle-area-fast');

//triangle is 3 pts [x,y,z]
var triangle = [[0,0,1],[1,0,1],[1,1,1]];

var area = taf(triangle);

console.log(area);

//returns area of triangle:
//0.5

```

## See Also

- [triangle-triangle-intersection](https://www.npmjs.com/package/triangle-triangle-intersection) - intersection between 2 triangles
- [triangle-distance](https://www.npmjs.com/package/triangle-distance) - distance to triangle


[![stonks](https://i.imgur.com/UpDxbfe.png)](https://www.npmjs.com/~stonkpunk)

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