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