@ilihub/time
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@ilihub/time

A TypeScript library for time measurement.

NPM Version NPM CodeFactor Socket Badge

Installation

# if you're using pnpm
pnpm add @ilihub/time

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

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

Usage

import { MillisecondToMinute } from "@ilihub/time";

const millisecond = 60000;

const minute = MillisecondToMinute(millisecond);
console.log(minute); // 1

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


Package Sidebar

Install

npm i @ilihub/time

Weekly Downloads

48

Version

1.0.2

License

MIT

Unpacked Size

8.01 kB

Total Files

5

Last publish

Collaborators

  • harshraj8843