# @taranti/harmonic-mean

> Taranti Harmonic Mean is a Javascript/Typescript library for harmonic mean computation.

Latest version **0.0.6** (published 2022-11-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @taranti/harmonic-mean
pnpm add @taranti/harmonic-mean
yarn add @taranti/harmonic-mean
bun add @taranti/harmonic-mean
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2022-11-11 |
| First published | 2022-11-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alan Taranti |
| Maintainers | alantaranti |
| Keywords | math, harmonic mean, mean, statistic |

## Links

- npm: https://www.npmjs.com/package/@taranti/harmonic-mean
- Repository: https://github.com/AlanTaranti/harmonic-mean
- Issues: https://github.com/AlanTaranti/harmonic-mean/issues
- npm.io page: https://npm.io/package/@taranti/harmonic-mean

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2022-11-11
- 0.0.5 — 2022-11-11
- 0.0.4 — 2022-11-11
- 0.0.3 — 2022-11-10
- 0.0.2 — 2022-11-10
- 0.0.1 — 2022-11-10

## README

# Taranti Harmonic Mean

[![npm version](https://img.shields.io/npm/v/@taranti/harmonic-mean.svg)](https://www.npmjs.org/package/@taranti/harmonic-mean)
[![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=@taranti/harmonic-mean&query=$.install.pretty&label=install%20size)](https://packagephobia.now.sh/result?p=@taranti/harmonic-mean)
[![npm bundle size](https://img.shields.io/bundlephobia/minzip/@taranti/harmonic-mean)](https://bundlephobia.com/package/@taranti/harmonic-mean@latest)
![Maintenance](https://img.shields.io/maintenance/yes/2022)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://github.com/AlanTaranti/harmonic-mean/blob/master/CODE_OF_CONDUCT.md)
[![License](https://img.shields.io/github/license/AlanTaranti/harmonic-mean.svg)](https://github.com/AlanTaranti/harmonic-mean/blob/main/LICENSE)

Taranti Harmonic Mean is a Javascript/Typescript library for harmonic mean computation.

For more information about how Harmonic Mean is calculated, see [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).

## Installation

Use your favorite the package manager to install harmonic-mean.

npm

```bash
npm install @taranti/harmonic-mean
```

yarn

```bash
yarn add @taranti/harmonic-mean
```

## Usage

### Node

```javascript
import { harmonicMean } from '@taranti/harmonic-mean';

const result = harmonicMean([100, 200, 300, 400]);

console.log(result); // 192
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](LICENSE)

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