ml-array-sum

v1.1.3
Get the average value in an array

array-sum

NPM version npm download

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

License

MIT

Metadata

  • MIT
  • Whatever
  • Jefferson Hernández
  • released 4/17/2020

Downloads

Maintainers