@ilihub/hectometer
v1.0.1
Published
TypeScript functions for converting hectometer to other length units.
Downloads
21
Maintainers
Readme
@ilihub/hectometer
TypeScript functions for converting hectometer to other length measurements.
Installation
# if you're using pnpm
pnpm add @ilihub/hectometer
# or, if you're using npm
npm install @ilihub/hectometer
# or, if you're using yarn
yarn add @ilihub/hectometer
Usage
import { Hectometer } from "@ilihub/hectometer";
const hectometer = new Hectometer(2.5);
const kilometer = hectometer.toKilometer();
console.log(kilometer);
const decameter = hectometer.toDecameter();
console.log(decameter);
const meter = hectometer.toMeter();
console.log(meter);
const decimeter = hectometer.toDecimeter();
console.log(decimeter);
const centimeter = hectometer.toCentimeter();
console.log(centimeter);
const millimeter = hectometer.toMillimeter();
console.log(millimeter);
const mile = hectometer.toMile();
console.log(mile);
const yard = hectometer.toYard();
console.log(yard);
const foot = hectometer.toFoot();
console.log(foot);
const inch = hectometer.toInch();
console.log(inch);
Available Functions and Classes
- Hectometer
- Hectometer To Kilometer
- Hectometer To Decameter
- Hectometer To Meter
- Hectometer To Decimeter
- Hectometer To Centimeter
- Hectometer To Millimeter
- Hectometer To Mile
- Hectometer To Yard
- Hectometer To Foot
- Hectometer To Inch
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.