npm.io
1.0.0 • Published 5 years ago

average

Licence
MIT
Version
1.0.0
Deps
0
Size
5 kB
Vulns
0
Weekly
0
Stars
3

average

The matematical average, the result obtained by adding several amounts together and then dividing this total by the number of amounts; the mean.

example

var average = require('average');
var result = average([2, 5, 0, 1, 25, 7, 3, 0, 0, 10]);

console.log('The average for all the values is:', result);

license

MIT