This library is a utility library for using math functions with ease.
npm install useful-math-functions
const ImprovedMath = require("math-library-zero");
const math = new ImprovedMath();
Then you can call functions on the math variable
console.log(math.add(5, 4)); // 9
console.log(math.sub(4, 2)); // 2
console.log(math.dist(1, 1, 2, 1)); // 1
console.log(math.circle_area_radius(4)) // 50.24...
console.log(math.circle_area_diamter(8)) // 50.24...