Search results
212 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Parse milliseconds into an object
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Convert the result of `process.hrtime.bigint()` to seconds, milliseconds, nanoseconds
A tiny (414B) and fast utility to convert milliseconds to and from strings.
Simplified high resolution timing
- time
- span
- elapsed
- process
- hrtime
- highres
- timing
- perf
- performance
- bench
- benchmark
- profiling
- measure
- seconds
- View more
Modern version of setInterval for promises and async functions available in Node.js and browsers.
- setInterval
- setTimeout
- clearInterval
- clearTimeout
- interval
- timeout
- milliseconds
- seconds
- promise
- promises
- async
- asynchronous
- await
- recurrent
- View more
Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`
Functions for working with durations.
simple high resolution timing
Convert a number in milliseconds to a standard duration string.
thin wrapper around process.hrtime
- hrtime
- hirestimer
- milliseconds
- seconds
- nanoseconds
- high resolution timer
- profiling
- profiler
- timing
- measurement
Insanely lightweight module for converting times to milliseconds.
Convert various time formats to milliseconds and throw if result is NaN
Convert various time formats to milliseconds
Tiny millisecond conversion utility. Original package was developed by Vercel. This is reworked TypeScript version
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Simple high resolution timer for node
Millisecond conversions for common date units (seconds, minutes, hours etc).
Convert dates, durations and time to canonical format (dates -> ISO 8601, durations -> milliseconds).
Convert Unix time to a relative time string e.g., "4 hours ago".