@ilihub/kelvin
TypeScript functions for converting kelvin to other temperature units.
Installation
pnpm add @ilihub/kelvin
npm install @ilihub/kelvin
yarn add @ilihub/kelvin
Usage
import { Kelvin } from "@ilihub/kelvin";
const kelvin = new Kelvin(373.15);
const celcius = kelvin.toCelsius();
console.log(celcius);
const fahrenheit = kelvin.toFahrenheit();
console.log(fahrenheit);
const rankine = kelvin.toRankine();
console.log(rankine);
const reaumur = kelvin.toReaumur();
console.log(reaumur);
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.