Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
deno
/
cli
/
js
/
ops
/
tty.ts
A modern runtime for JavaScript and TypeScript.
denoland/deno
Version
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v1.41.0
v1.40.5
v1.40.4
v1.40.3
v1.40.2
v1.40.1
v1.40.0
v1.39.4
v1.39.3
v1.39.2
v1.39.1
v1.39.0
v1.38.5
v1.38.4
v1.38.3
v1.38.2
v1.38.1
v1.38.0
v1.37.2
v1.37.1
v1.37.0
v1.36.4
v1.36.3
v1.36.2
v1.36.1
v1.36.0
v1.35.3
v1.35.2
v1.35.1
v1.35.0
v1.32.3
v1.32.2
v1.32.1
v1.32.0
v1.30.3
v1.30.2
v1.30.0
v1.29.3
v1.29.2
v1.29.1
v1.29.0
v1.28.3
v1.28.2
v1.28.1
v1.28.0
v1.27.2
v1.27.1
v1.27.0
v1.26.1
v1.26.0
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.21.3
v1.21.2
v1.21.1
v1.21.0
v1.20.6
v1.20.5
v1.20.4
1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.18.2
v1.18.1
v1.18.0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.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v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.3
v0.0.2
v0.0.1
Go to Latest
Menu
fs
runtime.ts
I
Metrics
I
Start
f
metrics
f
opStart
fs_events.ts
I
FsEvent
f
watchFs
os.ts
v
env
f
dir
f
execPath
f
exit
f
hostname
f
loadavg
f
osRelease
io.ts
f
read
f
readSync
f
write
f
writeSync
web_worker.ts
f
close
f
postMessage
net.ts
I
NetAddr
I
UnixAddr
T
Addr
T
ConnectRequest
T
ListenRequest
T
SendRequest
f
accept
f
connect
f
listen
f
receive
f
send
f
shutdown
E
ShutdownMode
permissions.ts
T
PermissionResponse
f
query
f
request
f
revoke
process.ts
f
kill
f
run
f
runStatus
plugins.ts
f
openPlugin
dispatch_minimal.ts
I
RecordMinimal
f
asyncMsgFromRust
f
recordFromBufMinimal
f
sendAsyncMinimal
f
sendSyncMinimal
timers.ts
f
now
f
startGlobalTimer
f
stopGlobalTimer
fetch.ts
I
FetchResponse
f
fetch
signal.ts
f
bindSignal
f
pollSignal
f
unbindSignal
repl.ts
f
readline
f
startRepl
dispatch_json.ts
f
asyncMsgFromRust
f
sendAsync
f
sendSync
get_random_values.ts
f
getRandomValues
errors.ts
I
Location
f
applySourceMap
f
formatDiagnostics
resources.ts
I
ResourceMap
f
close
f
resources
tls.ts
I
ConnectTLSRequest
I
ListenTLSRequest
I
StartTLSRequest
f
acceptTLS
f
connectTls
f
listenTls
f
startTls
runtime_compiler.ts
I
TranspileOnlyResult
f
compile
f
transpile
worker_host.ts
f
createWorker
f
hostGetMessage
f
hostPostMessage
f
hostTerminateWorker
tty.ts
f
isatty
f
setRaw
import
*
as
deno
from
"https://deno.land/x/deno@v1.0.0/cli/js/ops/tty.ts"
;
Functions
f
isatty
f
setRaw