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

1.0.4 • Public • Published

@ilihub/semi-circle

A collection of useful TypeScript functions for semi circle related operations.

NPM Version NPM CodeFactor Socket Badge

Installation

# if you're using pnpm
pnpm add @ilihub/semi-circle

# or, if you're using npm
npm install @ilihub/semi-circle

# or, if you're using yarn
yarn add @ilihub/semi-circle

Usage

import { SemiCircle } from "@ilihub/semi-circle";

const radius = 5;

const semiCircle = new SemiCircle(radius);

const area = semiCircle.area();
console.log(area); // 39.269908169872416

const perimeter = semiCircle.perimeter();
console.log(perimeter); // 25.707963267948966

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


/@ilihub/semi-circle/

    Package Sidebar

    Install

    npm i @ilihub/semi-circle

    Weekly Downloads

    4

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    6.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • harshraj8843