calcify.js is a NPM package which calculates area and volume of geometrical shapes.
npm install calcify.js
const calcifyJS = require("calcify.js");
//Area of a square
console.log(calcifyJS.squareArea(6));
//Output -> 36
//Area of Cuboid
console.log(calcifyJS.cuboidArea(12, 6, 5));
//Output -> 324
//Area of Sphere
console.log(calcifyJS.sphereVolume(7));
//Output -> 1436.755040241732
- Name: Ashutosh Swamy
- GitHub: ashutoshswamy
- Discord: ashutosh
- X: ashutoshswamy_