ml-array-sum
Get the average value in an array
Last updated 7 years ago by lpatiny .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ml-array-sum 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (7 months ago)

6 Versions

  • 2.0.0                                ...           7 months ago
  • 1.1.6                                ...           5 years ago
  • 1.1.5                                ...           6 years ago
  • 1.1.4                                ...           6 years ago
  • 1.1.3                                ...           7 years ago
  • 1.1.2                                ...           7 years ago
Maintainers (1)
Downloads
Total 23
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 1
Last Month 5
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE