ml-array-mean
v1.1.6
Published
Get the average value in an array
Downloads
966,849
Keywords
Readme
array-mean
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