@ilihub/cone
A collection of useful TypeScript functions for cone related operations.

Installation
pnpm add @ilihub/cone
npm install @ilihub/cone
yarn add @ilihub/cone
Usage
import { Cone } from "@ilihub/cone";
const radius = 5;
const slantHeight = 13;
const height = 13;
const cone = new Cone(radius, slantHeight, height);
const curvedSurfaceArea = cone.curvedSurfaceArea();
console.log(curvedSurfaceArea);
const totalSurfaceArea = cone.totalSurfaceArea();
console.log(totalSurfaceArea);
const volume = cone.volume();
console.log(volume);
Available Functions and Classes
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.
