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