mathematic
1.0.1 • Public • Published cli-mathematic
A lib to use mathematical operators
Note: need node >= 6
Usage
const math = require('mathematic');
math.sum(1, 2);
math.sum([1,2,3,'4',66,74]);
math.sub(56,44);
math.multi(14, 37);
math.div(3, 4);
API
sum(numbers)
Parameter |
Type |
Value |
numbers |
number or array |
any number (in array or not) |
sub(numbers)
Parameter |
Type |
Value |
numbers |
number or array |
any number (in array or not) |
multi(numbers)
Parameter |
Type |
Value |
numbers |
number or array |
any number (in array or not) |
div(numbers)
Parameter |
Type |
Value |
numbers |
number or array |
any number (in array or not) |
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
7
Version History
Package Sidebar
Install
Weekly Downloads