@ilihub/parallelogram
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@ilihub/parallelogram

A collection of useful TypeScript functions for parallelogram related operations.

NPM Version NPM CodeFactor Socket Badge

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.

Sponsors


Package Sidebar

Install

npm i @ilihub/parallelogram

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

6.81 kB

Total Files

5

Last publish

Collaborators

  • harshraj8843