pretty-ms
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Parse milliseconds into an object
Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds
thin wrapper around process.hrtime
Modern version of setInterval for promises and async functions available in Node.js and browsers.
Insanely lightweight module for converting times to milliseconds.
Simplified high resolution timing
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
Millisecond conversions for common date units (seconds, minutes, hours etc).
Convert a number in milliseconds to a standard duration string.
Functions for working with durations.
Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`
a small utility for converting between duration units.
Convert Unix time to a relative time string e.g., "4 hours ago".
Simple high resolution timer for node
Prettify milliseconds with customizable format
Convert dates, durations and time to canonical format (dates -> ISO 8601, durations -> milliseconds).
Convert human-readable intervals like '1h' or '5m' or '15s' into milliseconds
Cause random or fixed delay in network responses for express application
Get the number of seconds/milliseconds in a day.