Search results

209 packages found

Parse milliseconds into an object

published version 4.0.0, a year ago159 dependents licensed under $MIT
22,469,807

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

published version 9.2.0, 2 months ago1286 dependents licensed under $MIT
22,267,205

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

published version 5.0.0, 4 years ago106 dependents licensed under $MIT
5,999,708

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

published version 2.0.2, a year ago25 dependents licensed under $MIT
3,476,764

Simplified high resolution timing

published version 5.1.0, 3 years ago70 dependents licensed under $MIT
5,052,213

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

published version 2.0.0, 4 years ago7 dependents licensed under $MIT
216,427

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
304,616

Functions for working with durations.

published version 3.0.2, 2 years ago22 dependents licensed under $MIT
142,242

simple high resolution timing

published version 1.0.5, 8 months ago9 dependents licensed under $MIT
110,159

thin wrapper around process.hrtime

published version 7.0.4, a year ago49 dependents licensed under $MIT
90,060

Convert a number in milliseconds to a standard duration string.

published version 3.0.2, 2 years ago41 dependents licensed under $ISC
102,972

Insanely lightweight module for converting times to milliseconds.

published version 1.0.3, 11 years ago16 dependents licensed under $MIT
52,348

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

published version 3.1.0, 8 days ago5 dependents licensed under $MIT
23,960

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
9,028

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

published version 6.1.0, 5 years ago0 dependents licensed under $MIT
9,662

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

published version 1.1.14, 4 years ago2 dependents licensed under $MIT
6,020

Cause random or fixed delay in network responses for express application

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

Simple high resolution timer for node

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

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

published version 1.0.29, 10 months ago3 dependents licensed under $UNLICENSED
5,945

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

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