area-of-square
v1.0.1
Published
A simple npm library for calculating the area of a square.
Downloads
3
Readme
area-of-square
A simple npm library for calculating the area of a square.
Installation
To use this library in your project, you need to have Node.js and npm installed. Run the following command to install the package:
npm install area-of-square
Usage
const areaOfSquare = require('area-of-square');
const area = areaOfSquare(5); console.log('Area of the square:', area);
Example usage
const areaOfSquare = require('area-of-square');
const area1 = areaOfSquare(3); console.log('Area of the square:', area1);
const area2 = areaOfSquare(7); console.log('Area of the square:', area2);
Keywords
area square geometry mathematics calculation
Contributing
If you want to contribute to the Area of Square Calculator, please open an issue or submit a pull request on the GitHub repository.