1.0.3 • Published 7 months ago

@ilihub/rhombus v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@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