Search results
209 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
Convert an object of time properties to milliseconds: `{seconds: 2}` → `2000`
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
Functions for working with durations.
simple high resolution timing
thin wrapper around process.hrtime
- hrtime
- hirestimer
- milliseconds
- seconds
- nanoseconds
- high resolution timer
- profiling
- profiler
- timing
- measurement
Convert a number in milliseconds to a standard duration string.
Insanely lightweight module for converting times to milliseconds.
Convert human readable time-frame strings to milliseconds and vice versa, with support for i10n and operators!
- convert
- duration
- human
- humanise
- humanize
- microseconds
- milliseconds
- ms
- number
- parse
- period
- pretty
- range
- View more
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
Millisecond conversions for common date units (seconds, minutes, hours etc).
Cause random or fixed delay in network responses for express application
Simple high resolution timer for node
Convert dates, durations and time to canonical format (dates -> ISO 8601, durations -> milliseconds).
Convert various time formats to milliseconds and throw if result is NaN