math-helpers
Tiny statistics helper lib. Robust and fast.
Installation
npm install math-helpers
Usage
var math = /* optional options */ var avg = math
Options
You can pass some options to the module.
precision: 3 // results will be rounded to this number of decimals