# turf-stater

> Do statistics with numerical array

Latest version **0.0.10** (published 2018-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install turf-stater
pnpm add turf-stater
yarn add turf-stater
bun add turf-stater
```

## 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.10 |
| Published | 2018-10-09 |
| First published | 2018-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 14.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lefuturiste |
| Maintainers | lefuturiste |

## Links

- npm: https://www.npmjs.com/package/turf-stater
- npm.io page: https://npm.io/package/turf-stater

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) ^10.11.3

## Recent versions

- 0.0.10 (latest) — 2018-10-09
- 0.0.91 — 2018-10-04
- 0.0.9 — 2018-10-04
- 0.0.8 — 2018-10-03
- 0.0.7 — 2018-09-30
- 0.0.5 — 2018-09-30
- 0.0.4 — 2018-09-30
- 0.0.3 — 2018-09-30
- 0.0.2 — 2018-09-30
- 0.0.1 — 2018-09-30

## README

# Js statistics bundle

## Installation

`npm install --save turf-stater`

## Usage

```
let set = new Set([6, 6, 2, 9, 1, 1, 0]);
//or: let set = Set.fromFrequencySet([[6,2],[2,1],[9,1],[1,2],[0,1]);
set.getAmount(); //25
set.getLength(); //7
set.getAverage(); //~3.5714
```

## Tests

Test with jest:

`npm run test`

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