Get the average of numbers
MIT License
Bot releases are hidden (Show)
Published by sindresorhus 12 months ago
math-avg
math-average
https://github.com/sindresorhus/math-avg/compare/v2.0.0...v3.0.0
Published by sindresorhus over 3 years ago
https://github.com/sindresorhus/math-avg/compare/1.0.0...v2.0.0
Round a number to a specific number of decimal places: 1.234 → 1.2
Lazy number range generator
Get user info of an npm user
Normalize the newline characters in a string to `\n`
Sort an array of numbers
Generate a random integer
Generate a random float
Generate random numbers that are consecutively unique
Sum numbers
Check if something is a float
ES2015 Math.log2() ponyfill
Clamp a number
ES2015 Number.isInteger() ponyfill