A simple app for calculating the square of a number.
You can install the package using npm:
npm install square-calc
Here's how you can use the square-calc module in your project:
const calculateSquare = require('square-calc');
const number = 5;
console.log(`The square of ${number} is ${calculateSquare(number)}`);
import calculateSquare from 'square-calc';
const squaredNumber = calculateSquare(5);
console.log(squaredNumber); // Output: 25