@ilihub/perimeter-of-square
v1.0.3
Published
A TypeScript library for calculating the perimeter of a square.
Downloads
2
Maintainers
Readme
@ilihub/perimeter-of-square
A TypeScript library for calculating the perimeter of a square.
Installation
# if you're using pnpm
pnpm add @ilihub/perimeter-of-square
# or, if you're using npm
npm install @ilihub/perimeter-of-square
# or, if you're using yarn
yarn add @ilihub/perimeter-of-square
Usage
import { PerimeterOfSquare } from "@ilihub/perimeter-of-square";
const sideLength = 5;
const perimeterOfSquare = PerimeterOfSquare(sideLength);
console.log(perimeterOfSquare); // 20
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.