Modules
Standard Library
Third Party Modules
NPM
Docs
Manual
API
Deploy
Community
Discord
GitHub
Twitter
YouTube
Mastodon
Search...
⌘ K
!--frsh-globalsearch:0-->
Module
std
/
node
/
wasi.ts
Deno standard library
denoland/deno_std
Version
0.224.0
0.223.0
0.222.1
0.222.0
0.221.0
0.220.1
0.220.0
0.219.1
0.219.0
0.218.2
0.218.0
0.217.0
0.216.0
0.215.0
0.214.0
0.213.0
0.212.0
0.211.0
0.210.0
0.209.0
0.208.0
0.207.0
0.206.0
0.205.0
0.204.0
0.203.0
0.202.0
0.201.0
0.200.0
0.199.0
0.198.0
0.197.0
0.196.0
0.195.0
0.194.0
0.193.0
0.192.0
0.191.0
0.190.0
0.177.1
0.189.0
0.188.0
0.187.0
0.186.0
0.185.0
0.184.0
0.183.0
0.182.0
0.181.0
0.180.0
0.179.0
0.178.0
0.177.0
0.176.0
0.175.0
0.174.0
0.173.0
0.172.0
0.171.0
0.170.0
0.169.0
0.168.0
0.167.0
0.166.0
0.165.0
0.164.0
0.163.0
0.162.0
0.161.0
0.160.0
0.159.0
0.158.0
0.157.0
0.156.0
0.155.0
0.154.0
0.153.0
0.152.0
0.151.0
0.150.0
0.149.0
0.148.0
0.147.0
0.146.0
0.145.0
0.144.0
0.143.0
0.142.0
0.141.0
0.140.0
0.139.0
0.138.0
0.137.0
0.136.0
0.135.0
0.134.0
0.133.0
0.132.0
0.131.0
0.130.0
0.129.0
0.128.0
0.127.0
0.126.0
0.125.0
0.124.0
0.123.0
0.122.0
0.121.0
0.120.0
0.119.0
0.118.0
0.117.0
0.116.0
0.115.1
0.115.0
0.114.0
0.113.0
0.112.0
0.111.0
0.110.0
0.109.0
0.108.0
0.107.0
0.106.0
0.105.0
0.104.0
0.103.0
0.102.0
0.101.0
0.100.0
0.99.0
0.98.0
0.97.0
0.96.0
0.95.0
0.94.0
0.93.0
0.92.0
0.91.0
0.90.0
0.89.0
0.88.0
0.87.0
0.86.0
0.85.0
0.84.0
0.83.0
0.82.0
0.81.0
0.80.0
0.79.0
0.78.0
0.77.0
0.76.0
0.75.0
0.74.0
0.73.0
0.72.0
0.71.0
0.70.0
0.69.0
0.68.0
0.67.0
0.66.0
0.65.0
0.64.0
0.63.0
0.62.0
0.61.0
0.60.0
0.59.0
0.58.0
0.57.0
0.56.0
0.55.0
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.42.0
0.41.0
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.0
Go to Latest
!--frsh-versionselect:1-->
Menu
assert
dns
fs
integrationtest
internal
internal_binding
path
stream
timers
util
assert.ts
c
AssertionError
v
default
v
ok
f
deepEqual
f
deepStrictEqual
f
doesNotMatch
f
doesNotReject
f
doesNotThrow
f
equal
f
fail
f
ifError
f
match
f
notDeepEqual
f
notDeepStrictEqual
f
notEqual
f
notStrictEqual
f
rejects
f
strict
f
strictEqual
f
throws
assertion_error.ts
c
AssertionError
c
default
I
AssertionErrorConstructorOptions
I
AssertionErrorDetailsDescriptor
f
copyError
f
createErrDiff
f
inspectValue
async_hooks.ts
c
AsyncResource
v
default
buffer.ts
c
Buffer
v
Blob
v
default
child_process.ts
v
default
f
execFile
f
fork
f
spawn
cluster.ts
c
Worker
v
default
v
isMaster
v
isPrimary
v
isWorker
v
schedulingPolicy
v
settings
v
worker
v
workers
f
disconnected
f
fork
f
setupMaster
f
setupPrimary
console.ts
v
[UNSUPPORTED]
v
default
f
Console
constants.ts
v
default
crypto.ts
c
Certificate
c
Cipheriv
c
Decipheriv
c
DiffieHellman
c
DiffieHellmanGroup
c
ECDH
c
Hash
c
Hmac
c
KeyObject
c
Sign
c
Verify
c
X509Certificate
I
AsymmetricKeyDetails
I
BasePrivateKeyEncodingOptions
I
CheckPrimeOptions
I
Cipher
I
CipherCCM
I
CipherCCMOptions
I
CipherGCM
I
CipherGCMOptions
I
CipherOCB
I
CipherOCBOptions
I
DecipherCCM
I
DecipherGCM
I
DecipherOCB
I
DSAKeyPairKeyObjectOptions
I
DSAKeyPairOptions
I
ECKeyPairKeyObjectOptions
I
ECKeyPairOptions
I
ED25519KeyPairKeyObjectOptions
I
ED25519KeyPairOptions
I
ED448KeyPairKeyObjectOptions
I
ED448KeyPairOptions
I
GeneratePrimeOptions
I
GeneratePrimeOptionsArrayBuffer
I
GeneratePrimeOptionsBigInt
I
JsonWebKeyInput
I
JwkKeyExportOptions
I
KeyExportOptions
I
KeyPairKeyObjectResult
I
KeyPairSyncResult
I
PrivateKeyInput
I
PublicKeyInput
I
RSAKeyPairKeyObjectOptions
I
RSAKeyPairOptions
I
RSAPSSKeyPairKeyObjectOptions
I
RSAPSSKeyPairOptions
I
SecureHeapUsage
I
SigningOptions
I
SignKeyObjectInput
I
SignPrivateKeyInput
I
VerifyKeyObjectInput
I
VerifyPublicKeyInput
I
X25519KeyPairKeyObjectOptions
I
X25519KeyPairOptions
I
X448KeyPairKeyObjectOptions
I
X448KeyPairOptions
I
X509CheckOptions
T
Algorithms
T
BinaryLike
T
BinaryToTextEncoding
T
CharacterEncoding
T
CipherCCMTypes
T
CipherGCMTypes
T
CipherKey
T
CipherOCBTypes
T
Decipher
T
DSAEncoding
T
ECDHKeyFormat
T
Encoding
T
HASH_DATA
T
KeyFormat
T
KeyLike
T
KeyObjectType
T
KeyType
T
LargeNumberLike
T
LegacyCharacterEncoding
T
NormalizedAlgorithms
T
PeerCertificate
v
default
v
getDiffieHellman
v
getFips
v
randomUUID
v
setFips
v
sign
v
timingSafeEqual
v
verify
v
webcrypto
f
checkPrime
f
checkPrimeSync
f
createCipheriv
f
createDecipheriv
f
createDiffieHellman
f
createDiffieHellmanGroup
f
createECDH
f
createHash
f
createHmac
f
createPrivateKey
f
createPublicKey
f
createSecretKey
f
createSign
f
createVerify
f
diffieHellman
f
generateKey
f
generateKeyPair
f
generateKeyPairSync
f
generateKeySync
f
generatePrime
f
generatePrimeSync
f
getCipherInfo
f
getCiphers
f
getCurves
f
getHashes
f
hkdf
f
hkdfSync
f
pbkdf2
f
pbkdf2Sync
f
privateDecrypt
f
privateEncrypt
f
publicDecrypt
f
publicEncrypt
f
randomBytes
f
randomFill
f
randomFillSync
f
randomInt
f
scrypt
f
scryptSync
f
secureHeapUsed
f
setEngine
dgram.ts
c
Socket
I
AddressInfo
I
BindOptions
I
SocketOptions
T
MessageType
T
RemoteInfo
T
SocketType
v
default
f
createSocket
diagnostics_channel.ts
v
default
f
channel
f
Channel
f
hasSubscribers
dns.ts
c
Resolver
I
AnyAaaaRecord
I
AnyARecord
I
AnyCnameRecord
I
AnyMxRecord
I
AnyNaptrRecord
I
AnyNsRecord
I
AnyPtrRecord
I
AnySoaRecord
I
AnySrvRecord
I
AnyTxtRecord
I
CaaRecord
I
LookupAddress
I
LookupAllOptions
I
LookupOneOptions
I
LookupOptions
I
MxRecord
I
NaptrRecord
I
RecordWithTtl
I
ResolveOptions
I
ResolverOptions
I
ResolveWithTtlOptions
I
SoaRecord
I
SrvRecord
T
AnyRecord
T
Records
T
ResolveCallback
v
ADDRGETNETWORKPARAMS
v
BADFAMILY
v
BADFLAGS
v
BADHINTS
v
BADNAME
v
BADQUERY
v
BADRESP
v
BADSTR
v
CANCELLED
v
CONNREFUSED
v
default
v
DESTRUCTION
v
EOF
v
FILE
v
FORMERR
v
LOADIPHLPAPI
v
NODATA
v
NOMEM
v
NONAME
v
NOTFOUND
v
NOTIMP
v
NOTINITIALIZED
v
promises
v
REFUSED
v
SERVFAIL
v
TIMEOUT
f
getServers
f
lookup
f
resolve
f
resolve4
f
resolve6
f
resolveAny
f
resolveCaa
f
resolveCname
f
resolveMx
f
resolveNaptr
f
resolveNs
f
resolvePtr
f
resolveSoa
f
resolveSrv
f
resolveTxt
f
reverse
f
setDefaultResultOrder
f
setServers
domain.ts
c
Domain
v
default
f
create
events.ts
c
default
c
EventEmitter
v
captureRejectionSymbol
v
defaultMaxListeners
v
errorMonitor
f
getEventListeners
f
on
f
once
fs.ts
N
constants
N
f
write
N
f
writev
v
default
v
promises
f
access
f
accessSync
f
appendFile
f
appendFileSync
f
chmod
f
chmodSync
f
chown
f
chownSync
f
close
f
closeSync
f
copyFile
f
copyFileSync
f
createReadStream
f
createWriteStream
f
exists
f
existsSync
f
fdatasync
f
fdatasyncSync
f
fstat
f
fstatSync
f
fsync
f
fsyncSync
f
ftruncate
f
ftruncateSync
f
futimes
f
futimesSync
f
link
f
linkSync
f
lstat
f
lstatSync
f
mkdir
f
mkdirSync
f
mkdtemp
f
mkdtempSync
f
open
f
openSync
f
read
f
readdir
f
readdirSync
f
readFile
f
readFileSync
f
readlink
f
readlinkSync
f
readSync
f
realpath
f
realpathSync
f
rename
f
renameSync
f
rm
f
rmdir
f
rmdirSync
f
rmSync
f
stat
f
Stats
f
statSync
f
symlink
f
symlinkSync
f
truncate
f
truncateSync
f
unlink
f
unlinkSync
f
utimes
f
utimesSync
f
watch
f
watchFile
f
writeFile
f
writeFileSync
f
WriteStream
f
writeSync
f
writevSync
global.ts
http.ts
c
ClientRequest
c
IncomingMessageForClient
c
IncomingMessageForServer
c
ServerResponse
I
RequestOptions
v
default
v
METHODS
f
Agent
f
createServer
f
get
f
OutgoingMessage
f
request
f
Server
http2.ts
c
ClientHttp2Session
c
ClientHttp2Stream
c
Http2SecureServer
c
Http2Server
c
Http2ServerRequest
c
Http2ServerResponse
c
Http2Session
c
Http2Stream
c
ServerHttp2Session
c
ServerHttp2Stream
v
constants
v
default
v
sensitiveHeaders
f
connect
f
createSecureServer
f
createServer
f
getDefaultSettings
f
getPackedSettings
f
getUnpackedSettings
https.ts
c
Agent
c
Server
v
default
v
globalAgent
f
createServer
f
get
f
request
inspector.ts
c
Session
v
console
v
default
f
close
f
open
f
url
f
waitForDebugger
module_all.ts
v
default
module_esm.ts
I
PackageConfig
v
encodedSepRegEx
f
packageExportsResolve
f
packageImportsResolve
module.ts
c
default
v
builtinModules
v
createRequire
f
resolveMainPath
f
shouldUseESMLoader
net.ts
c
Server
c
Socket
I
ListenOptions
v
createConnection
v
default
v
Stream
f
_createServerHandle
f
_normalizeArgs
f
connect
f
createServer
f
isIP
f
isIPv4
f
isIPv6
os.ts
I
UserInfoOptions
v
constants
v
default
v
devNull
v
EOL
f
arch
f
cpus
f
endianness
f
freemem
f
getPriority
f
homedir
f
hostname
f
loadavg
f
networkInterfaces
f
platform
f
release
f
setPriority
f
tmpdir
f
totalmem
f
type
f
uptime
f
userInfo
path.ts
I
GlobOptions
I
ParsedPath
T
FormatInputPathObject
T
GlobToRegExpOptions
v
[UNSUPPORTED]
v
default
v
posix
v
SEP
v
SEP_PATTERN
v
win32
f
common
f
globToRegExp
f
isGlob
f
joinGlobs
f
normalizeGlob
perf_hooks.ts
v
constants
v
default
v
monitorEventLoopDelay
v
performance
process.ts
v
arch
v
chdir
v
cwd
v
default
v
env
v
exit
v
pid
v
platform
v
process
v
removeAllListeners
v
removeListener
v
stderr
v
stdin
v
stdout
v
version
v
versions
f
emitWarning
f
kill
punycode.ts
v
default
v
ucs2
f
decode
f
encode
f
toASCII
f
toUnicode
querystring.ts
I
ParsedUrlQuery
v
decode
v
default
v
encode
v
escape
v
unescape
f
parse
f
stringify
f
unescapeBuffer
readline.ts
c
Interface
v
default
f
clearLine
f
clearScreenDown
f
createInterface
f
cursorTo
f
emitKeypressEvents
f
moveCursor
repl.ts
v
builtinModules
v
default
f
start
stream.ts
N
f
finished
N
f
pipeline
c
Duplex
c
PassThrough
c
Readable
c
Stream
c
Transform
c
Writable
f
_isUint8Array
f
_uint8ArrayToBuffer
f
addAbortSignal
string_decoder.ts
c
StringDecoder
v
default
sys.ts
T
v
TextDecoder
T
v
TextEncoder
v
default
f
_extend
f
callbackify
f
debuglog
f
deprecate
f
format
f
formatWithOptions
f
getSystemErrorName
f
inherits
f
inspect
f
isArray
f
isBoolean
f
isBuffer
f
isDate
f
isError
f
isFunction
f
isNull
f
isNullOrUndefined
f
isNumber
f
isObject
f
isPrimitive
f
isRegExp
f
isString
f
isSymbol
f
isUndefined
f
promisify
f
stripVTControlCharacters
timers.ts
v
clearImmediate
v
default
v
setImmediate
f
clearInterval
f
clearTimeout
f
setInterval
f
setTimeout
f
setUnrefTimeout
tls.ts
c
CryptoStream
c
SecurePair
c
Server
v
connect
v
createSecureContext
v
createServer
v
default
v
DEFAULT_ECDH_CURVE
v
DEFAULT_MAX_VERSION
v
DEFAULT_MIN_VERSION
v
rootCertificates
v
TLSSocket
f
createSecurePair
f
getCiphers
tty.ts
c
ReadStream
c
WriteStream
v
default
f
isatty
upstream_modules.ts
v
default
url.ts
c
Url
v
default
v
URL
f
fileURLToPath
f
format
f
parse
f
pathToFileURL
f
resolve
f
resolveObject
util.ts
T
v
TextDecoder
T
v
TextEncoder
v
default
f
_extend
f
callbackify
f
debuglog
f
deprecate
f
format
f
formatWithOptions
f
getSystemErrorName
f
inherits
f
inspect
f
isArray
f
isBoolean
f
isBuffer
f
isDate
f
isError
f
isFunction
f
isNull
f
isNullOrUndefined
f
isNumber
f
isObject
f
isPrimitive
f
isRegExp
f
isString
f
isSymbol
f
isUndefined
f
promisify
f
stripVTControlCharacters
v8.ts
c
DefaultDeserializer
c
DefaultSerializer
c
Deserializer
c
Serializer
v
default
v
promiseHooks
f
cachedDataVersionTag
f
deserialize
f
getHeapCodeStatistics
f
getHeapSnapshot
f
getHeapSpaceStatistics
f
getHeapStatistics
f
serialize
f
setFlagsFromString
f
stopCoverage
f
takeCoverage
f
writeHeapSnapshot
vm.ts
c
Script
v
default
f
compileFunction
f
createContext
f
createScript
f
isContext
f
measureMemory
f
runInContext
f
runInNewContext
f
runInThisContext
wasi.ts
v
default
v
WASI
worker_threads.ts
c
Worker
I
WorkerOptions
v
BroadcastChannel
v
default
v
isMainThread
v
MessageChannel
v
MessagePort
v
parentPort
v
resourceLimits
v
SHARE_ENV
v
threadId
v
workerData
f
getEnvironmentData
f
markAsUntransferable
f
moveMessagePortToContext
f
receiveMessageOnPort
f
setEnvironmentData
zlib.ts
c
BrotliCompress
c
BrotliDecompress
c
BrotliOptions
c
Options
c
ZlibBase
v
default
f
brotliCompress
f
brotliCompressSync
f
brotliDecompress
f
brotliDecompressSync
f
createBrotliCompress
f
createBrotliDecompress
import
*
as
mod
from
"https://dotland.deno.dev/std@0.146.0/node/wasi.ts"
;
Variables
v
default
v
WASI
Why Deno?
Develop Locally
Deploy Globally
Compare to Node.js
Benchmarks
Products
Deno CLI
Deno Deploy
Deploy Subhosting
Fresh
SaaSKit
Sources
CLI Manual
CLI Runtime API
Deploy Docs
Standard Library
Third-Party Modules
Community
Artworks
Translations
Showcase
Company
Careers
Blog
Pricing
News
Merch
Privacy Policy
Copyright © 2023 Deno Land Inc.
All rights reserved.