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

1.0.3 • Public • Published

@ilihub/rhombus

A collection of useful TypeScript functions for rhombus related operations.

NPM Version NPM CodeFactor Socket Badge

Installation

# if you're using pnpm
pnpm add @ilihub/rhombus

# or, if you're using npm
npm install @ilihub/rhombus

# or, if you're using yarn
yarn add @ilihub/rhombus

Usage

import { Rhombus } from "@ilihub/rhombus";

const rhombus = new Rhombus();

const area = rhombus.area(10, 20);
console.log(area); // 100

const perimeter = rhombus.perimeter(10);
console.log(perimeter); // 40

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/rhombus

Weekly Downloads

13

Version

1.0.3

License

MIT

Unpacked Size

6.42 kB

Total Files

5

Last publish

Collaborators

  • harshraj8843