Launch Week Day 3: Introducing Organization Notifications in Socket.Learn More
Socket
Book a DemoSign in
Socket

@ilihub/centimeter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ilihub/centimeter

TypeScript functions for converting centimeter to other length units.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@ilihub/centimeter

TypeScript functions for converting centimeter to other length measurements.

NPM Version NPM CodeFactor Socket Badge

Installation

# 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

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

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

Keywords

ilihub

FAQs

Package last updated on 01 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts