ml-array-mean
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

array-mean

NPM version npm download

Get the average value in an array.

Installation

$ npm install --save ml-array-mean

Usage

import mean from 'ml-array-mean';

const result = mean([1, 5, 3, 2, 4]);
// 3

License

MIT

/ml-array-mean/

    Package Sidebar

    Install

    npm i ml-array-mean

    Weekly Downloads

    324,859

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    3.68 kB

    Total Files

    8

    Last publish

    Collaborators

    • lpatiny
    • maasencioh
    • mljs-bot
    • stropitek
    • targos