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