1.0.1 • Published 9 months ago

@zaidii/array-statistics v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Array Statistics

A simple package for calculating basic statistical measures from arrays.

Installation

```bash npm install @yourusername/array-statistics ```

Usage

```javascript const { mean, median, mode } = require('@yourusername/array-statistics');

const numbers = 1, 2, 2, 3, 4, 5; console.log(mean(numbers)); // 2.83 console.log(median(numbers)); // 2.5 console.log(mode(numbers)); // 2 ```

1.0.1

9 months ago