0.0.1 • Published 1 year ago

@santi100a/statlib v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Santi's Statistics Library

This library has a few modules that help you easily calculate things like variance, standard deviation, mean, median and mode.

Installation

  • NPM/PNPM: npm install @santi100a/statlib or pnpm install @santi100a/statlib
  • Yarn: yarn add @santi100a/statlib

Usage example

const statlib = require('@santi100a/statlib');

statlib.average([1, 2, 3, 4, 5]); // => 3
statlib.median([1, 2, 3, 4, 5]); // => [3]