@ilihub/circumference-of-circle
v1.0.4
Published
A TypeScript library for calculating the circumference of a circle.
Downloads
50
Maintainers
Readme
@ilihub/circumference-of-circle
A TypeScript library for calculating the circumference of a circle.
Installation
# if you're using pnpm
pnpm add @ilihub/circumference-of-circle
# or, if you're using npm
npm install @ilihub/circumference-of-circle
# or, if you're using yarn
yarn add @ilihub/circumference-of-circle
Usage
import { CircumferenceOfCircle } from "@ilihub/circumference-of-circle";
const radius = 10;
const circumference = CircumferenceOfCircle(radius);
console.log(circumference); // 62.83185307179586
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
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.