@ilihub/perimeter-of-scalene-triangle
v1.0.4
Published
A TypeScript library for calculating the perimeter of a scalene triangle.
Downloads
3
Maintainers
Readme
@ilihub/perimeter-of-scalene-triangle
A TypeScript library for calculating the perimeter of a scalene triangle.
Installation
# if you're using pnpm
pnpm add @ilihub/perimeter-of-scalene-triangle
# or, if you're using npm
npm install @ilihub/perimeter-of-scalene-triangle
# or, if you're using yarn
yarn add @ilihub/perimeter-of-scalene-triangle
Usage
import { PerimeterOfScaleneTriangle } from "@ilihub/perimeter-of-scalene-triangle";
const s1 = 6;
const s2 = 5;
const s3 = 4;
const perimeter = PerimeterOfScaleneTriangle(s1, s2, s3);
console.log(perimeter); // 15
🛠️ 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.