UNPKG

math-sum

Version:
27 lines (17 loc) 352 B
# math-sum > Sum numbers ## Install ``` $ npm install math-sum ``` ## Usage ```js import mathSum from 'math-sum'; mathSum(5, 5); //=> 10 mathSum([1, 2, 3, 4]); //=> 10 ``` ## Related - [math-avg](https://github.com/sindresorhus/math-avg) - Get the average of numbers - [math-clamp](https://github.com/sindresorhus/math-clamp) - Clamp a number