Viability!
Viability is a Utility Package that is VERY easy to use!
Addition
const viability = require("viability");
console.log(viability.add(500, 500)) //500 + 500
//Expected Output: 1000
ArrayRandomizer
const viability = require("viability");
let array = [
"Hello",
"Hey",
"Hi",
"Wassup",
"KianIsCool"
]
console.log(viability.ArrayRandomizer(array))
//Get's a random item from the array
Division
const viability = require("viability");
console.log(viability.divide(6, 2)) //6 ÷ 2
//Expected Output: 3
Multiplication
const viability = require("viability");
console.log(viability.multiply(2, 5)) //2 x 5
//Expected Output: 10
ArrayShuffle
const viability = require("viability");
let array = [
"Hello",
"Hey",
"Hi",
"Wassup",
"KianIsCool"
]
console.log(viability.ArrayShuffle(array))
//Shuffle's the item's in the array
Subtraction
const viability = require("viability");
console.log(viability.subtract(10, 4)) //10 - 4
//Expected Output: 6