Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 628 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 628 Bytes

calcify.js

calcify.js is a NPM package which calculates area and volume of geometrical shapes.

How to install this package?

npm install calcify.js

Usage of this packge

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

Developer Info

  • Name: Ashutosh Swamy
  • GitHub: ashutoshswamy
  • Discord: ashutosh
  • X: ashutoshswamy_