ml-array-sum
v1.1.6
Published
Get the average value in an array
Downloads
978,398
Readme
array-sum
Get the sum of the values in an array.
Installation
$ npm install --save ml-array-sum
Usage
import sum from 'ml-array-sum';
const result = sum([1, 5, 3, 2, 4]);
// 15