npm package: @ilihub/centimeter
Description: TypeScript functions for converting centimeter 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/centimeter

TypeScript functions for converting centimeter to other length measurements.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fcentimeter?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fcentimeter)
[![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/centimeter)](https://socket.dev/npm/package/@ilihub/centimeter)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/centimeter

# or, if you're using npm
npm install @ilihub/centimeter

# or, if you're using yarn
yarn add @ilihub/centimeter
```

## Usage

```javascript
import { Centimeter } from "@ilihub/centimeter";

const centimeter = new Centimeter(100);

const kilometer = centimeter.toKilometer();
console.log(kilometer);

const hectometer = centimeter.toHectometer();
console.log(hectometer);

const decameter = centimeter.toDecameter();
console.log(decameter);

const meter = centimeter.toMeter();
console.log(meter);

const decimeter = centimeter.toDecimeter();
console.log(decimeter);

const millimeter = centimeter.toMillimeter();
console.log(millimeter);

const mile = centimeter.toMile();
console.log(mile);

const yard = centimeter.toYard();
console.log(yard);

const foot = centimeter.toFoot();
console.log(foot);

const inch = centimeter.toInch();
console.log(inch);
```

## Available Functions and Classes

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

---