@aeinbu/aggregates
Lightweight and non-intrusive aggregate functions to use with array reducers
Lightweight and non-intrusive aggregate functions to use with array reducers
Now, you can calculate the sum, average, mode, median, range, variance, and standard deviation for the given array of numbers.