Search results

212 packages found

Parse milliseconds into an object

published version 4.0.0, a year ago167 dependents licensed under $MIT
35,583,309

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

published version 9.2.0, 7 months ago1331 dependents licensed under $MIT
35,444,667

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

published version 5.0.0, 4 years ago111 dependents licensed under $MIT
9,685,606

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

published version 2.0.2, 2 years ago26 dependents licensed under $MIT
5,426,181

Simplified high resolution timing

published version 5.1.0, 3 years ago73 dependents licensed under $MIT
8,340,262

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

published version 3.0.3, 2 years ago75 dependents licensed under $MIT
1,247,309

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

published version 2.0.0, 4 years ago7 dependents licensed under $MIT
322,624

Functions for working with durations.

published version 3.0.2, 2 years ago22 dependents licensed under $MIT
244,601

simple high resolution timing

published version 1.0.5, a year ago9 dependents licensed under $MIT
200,974

Convert a number in milliseconds to a standard duration string.

published version 3.0.2, 2 years ago41 dependents licensed under $ISC
104,964

thin wrapper around process.hrtime

published version 7.0.4, a year ago47 dependents licensed under $MIT
70,907

Insanely lightweight module for converting times to milliseconds.

published version 1.0.3, 11 years ago17 dependents licensed under $MIT
70,620

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

published version 1.0.0, 5 years ago1 dependents licensed under $MIT
36,862

Convert various time formats to milliseconds

published version 1.0.0, 5 years ago2 dependents licensed under $MIT
36,813

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
28,002

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

published version 6.1.0, 5 years ago0 dependents licensed under $MIT
27,956

Simple high resolution timer for node

published version 1.0.1, 9 years ago3 dependents licensed under $MIT
17,019

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

published version 1.1.15, 4 months ago2 dependents licensed under $MIT
12,435

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
10,662

Convert Unix time to a relative time string e.g., "4 hours ago".

published version 1.1.9, 7 years ago4 dependents licensed under $MIT
5,364