devmath
v1.0.3
Published
Just a couple of useful features :)
Downloads
4
Readme
DevMath v1.0.3
Installation
NPM
npm i devmath
Usage
var devmath = require("devmath");
devmath.randomInt(99) // 26
devmath.randomInt(100, 150) // 141
devmath.exp("2+2*2") // 6
devmath.mediumFromString("324.54,76,90.1") // 163.54666666666665
devmath.mediumFromArray(["55", "2", "6", "9"]) // 18
devmath.randomElement(["1", "2", "3"]) // 2
devmath.randomPassword(20) // qdqQCDsZAvAjzYgOxd7D