Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Cloud
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Pricing
Starts free and scales with your needs
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
sleep
🦕 module for sleep. You can sleep for a specific amount of time or you can sleep for a random amount of time with this.
michael-spengler/sleep
Version
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.0
Go to Latest
Directory
mod.ts
26 B
README.md
849 B
sleep.ts
648 B
test.ts
842 B
usage-example-advanced.ts
187 B
usage-example.ts
175 B