Skip to main content
Home

latest
Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score100%
Publisheda year ago (0.0.7)

A collection of utility functions regarding to time

default

A collection of utility functions regarding to time

f
delayed

Asynchronously iterates over the given iterable, yielding each item with a constant delay between iterations.

f
getFormattedTimestamp

Returns the current timestamp in a formatted string. The format of the timestamp is "YYYYMMDD-HHMMSS".

f
randomSleep

Pauses execution for a random duration within the specified range.

f
sleep

Pauses the execution for the specified number of milliseconds.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.