Search results

210 packages found

Parse milliseconds into an object

published version 4.0.0, a year ago160 dependents licensed under $MIT
27,987,297

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

published version 9.2.0, 3 months ago1292 dependents licensed under $MIT
28,657,310

Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds

published version 5.0.0, 4 years ago107 dependents licensed under $MIT
7,648,705

Simplified high resolution timing

published version 5.1.0, 3 years ago70 dependents licensed under $MIT
6,711,780

A tiny (414B) and fast utility to convert milliseconds to and from strings.

published version 2.0.2, a year ago26 dependents licensed under $MIT
4,396,472

Modern version of setInterval for promises and async functions available in Node.js and browsers.

published version 3.0.3, 2 years ago69 dependents licensed under $MIT
488,548

Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`

published version 2.0.0, 4 years ago7 dependents licensed under $MIT
253,121

Functions for working with durations.

published version 3.0.2, 2 years ago21 dependents licensed under $MIT
199,794

simple high resolution timing

published version 1.0.5, 9 months ago9 dependents licensed under $MIT
137,897

Convert a number in milliseconds to a standard duration string.

published version 3.0.2, 2 years ago42 dependents licensed under $ISC
114,180

thin wrapper around process.hrtime

published version 7.0.4, a year ago46 dependents licensed under $MIT
72,084

Insanely lightweight module for converting times to milliseconds.

published version 1.0.3, 11 years ago16 dependents licensed under $MIT
63,660

Tiny millisecond conversion utility. Original package was developed by Vercel. This is reworked TypeScript version

published version 2.0.0, 4 years ago5 dependents licensed under $MIT
46,319

Convert human readable time-frame strings to milliseconds and vice versa, with support for i10n and operators!

published version 3.1.0, a month ago5 dependents licensed under $MIT
31,951

Millisecond conversions for common date units (seconds, minutes, hours etc).

published version 1.1.14, 5 years ago2 dependents licensed under $MIT
8,516

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

published version 6.1.0, 5 years ago0 dependents licensed under $MIT
10,654

Simple high resolution timer for node

published version 1.0.1, 8 years ago3 dependents licensed under $MIT
8,387

Convert dates, durations and time to canonical format (dates -> ISO 8601, durations -> milliseconds).

published version 1.0.29, a year ago3 dependents licensed under $UNLICENSED
8,347

Convert various time formats to milliseconds and throw if result is NaN

published version 1.0.0, 5 years ago1 dependents licensed under $MIT
4,955

Cause random or fixed delay in network responses for express application

published version 0.0.1, 8 years ago2 dependents licensed under $MIT
5,309