@ilihub/rhombus
v1.0.3
Published
A collection of useful TypeScript functions for rhombus related operations.
Downloads
4
Maintainers
Readme
@ilihub/rhombus
A collection of useful TypeScript functions for rhombus related operations.
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.