1.0.1 • Published 2 years ago

super-simle-mathjs v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

super-simle-mathjs


Installation:

npm i super-simle-mathjs

#or

yarn add super-simle-mathjs

Usage examples

Plus

const supermathjs = require("super-simle-mathjs");
let myPlus = supermathjs.plus(6); // return 12

Minus

const supermathjs = require("super-simle-mathjs");
let myPlus = supermathjs.minus(6); // return 0

Multiply

const supermathjs = require("super-simle-mathjs");
let myPlus = supermathjs.multiply(36); // return 4

Divide

const supermathjs = require("super-simle-mathjs");
let myPlus = supermathjs.divide(6); // return 1

Pow

const supermathjs = require("super-simle-mathjs");
let myPlus = supermathjs.degreePow(6); // return 36

Sqrt

const supermathjs = require("super-simle-mathjs");
let myPlus = supermathjs.degreeSqrt(6); // return 216
1.0.1

2 years ago

1.0.0

2 years ago