npm package: @ilihub/decameter
Description: TypeScript functions for converting decameter to other length units.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/decameter

TypeScript functions for converting decameter to other length measurements.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fdecameter?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fdecameter)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/decameter)](https://socket.dev/npm/package/@ilihub/decameter)

## Installation

```bash
# 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

```javascript
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](https://www.npmjs.com/package/@ilihub/decameter)
- [Decameter To Kilometer](https://www.npmjs.com/package/@ilihub/decameter-to-kilometer)
- [Decameter To Hectometer](https://www.npmjs.com/package/@ilihub/decameter-to-hectometer)
- [Decameter To Meter](https://www.npmjs.com/package/@ilihub/decameter-to-meter)
- [Decameter To Decimeter](https://www.npmjs.com/package/@ilihub/decameter-to-decimeter)
- [Decameter To Centimeter](https://www.npmjs.com/package/@ilihub/decameter-to-centimeter)
- [Decameter To Millimeter](https://www.npmjs.com/package/@ilihub/decameter-to-millimeter)
- [Decameter To Mile](https://www.npmjs.com/package/@ilihub/decameter-to-mile)
- [Decameter To Yard](https://www.npmjs.com/package/@ilihub/decameter-to-yard)
- [Decameter To Foot](https://www.npmjs.com/package/@ilihub/decameter-to-foot)
- [Decameter To Inch](https://www.npmjs.com/package/@ilihub/decameter-to-inch)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## 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.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---