@ilihub/parallelogram
A collection of useful TypeScript functions for parallelogram related operations.
Installation
# if you're using pnpm
pnpm add @ilihub/parallelogram
# or, if you're using npm
npm install @ilihub/parallelogram
# or, if you're using yarn
yarn add @ilihub/parallelogram
Usage
import { Parallelogram } from "@ilihub/parallelogram";
const parallelogram = new Parallelogram();
const area = parallelogram.area(10, 20);
console.log(area); // 200
const perimeter = parallelogram.perimeter(10, 20);
console.log(perimeter); // 60
Available Functions and Classes
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.