@santi100a/statlib
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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]

Package Sidebar

Install

npm i @santi100a/statlib

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

47.6 kB

Total Files

72

Last publish

Collaborators

  • santi100a