1.2.7 • Published 5 years ago
@princedev/calculate v1.2.7
@princedev/calculate
Fast, lightweight, and extinsible mathematical and statistical functions.
Table of Contents
Installation
This library is available through the npm registry.
NPM
$ npm -i @princedev/calculateYarn
$ yarn add @princedev/calculateImport
Start using it by importing the library first.
CommonJS
const calculate = require('@princedev/calculate');ES6
import { sum } from '@princedev/calculate';Usage
Getting the sum of given numbers.
import { sum } from '@princedev/calculate';
sum(12,24);
// output: 36
sum(12,24,36,48,60,72,84,96,108,120,132);
// output: 792
sum(...[12,24,36,48,60,72,84,96,108,120,132]);
// output: 792Can also be done in this way.
import calculate from '@princedev/calculate';
calculate.sum(12,24);
// output: 36
calculate.sum(12,24,36,48,60,72,84,96,108,120,132)
// output: 792Read the docs for more.
Authors
- Prince Neil Cedrick Castro - Initial work
See also the list of contributors who participated in this project.
Changelog
License
1.2.7
5 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
0.2.4
6 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago