🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@ilihub/hectometer

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/hectometer

TypeScript functions for converting hectometer to other length units.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@ilihub/hectometer

TypeScript functions for converting hectometer to other length measurements.

NPM Version NPM CodeFactor Socket Badge

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

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