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
/
os.ts
>
default
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
fs
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
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
buffer.ts
c
Buffer
v
atob
v
btoa
v
constants
v
default
v
kMaxLength
v
kStringMaxLength
child_process.ts
c
ChildProcess
v
default
f
spawn
cli.ts
console.ts
v
[UNSUPPORTED]
constants.ts
v
default
crypto.ts
c
Hash
v
default
v
randomUUID
v
timingSafeEqual
f
createHash
f
getHashes
f
pbkdf2
f
pbkdf2Sync
f
scrypt
f
scryptSync
events.ts
c
EventEmitter
I
WrappedFunction
T
GenericFunction
v
captureRejectionSymbol
v
default
v
defaultMaxListeners
v
errorMonitor
v
listenerCount
v
on
v
once
fs.ts
N
constants
N
promises
v
default
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
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
readdir
f
readdirSync
f
readFile
f
readFileSync
f
readlink
f
readlinkSync
f
realpath
f
realpathSync
f
rename
f
renameSync
f
rmdir
f
rmdirSync
f
stat
f
statSync
f
symlink
f
symlinkSync
f
truncate
f
truncateSync
f
unlink
f
unlinkSync
f
utimes
f
utimesSync
f
watch
f
writeFile
f
writeFileSync
global.d.ts
global.ts
module.ts
c
default
v
builtinModules
v
createRequire
os.ts
I
UserInfoOptions
v
constants
v
default
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
nextTick
querystring.ts
I
ParsedUrlQuery
v
decode
v
default
v
encode
v
escape
v
hexTable
v
unescape
f
encodeStr
f
parse
f
stringify
stream.ts
N
promises
v
[UNSUPPORTED]
string_decoder.ts
c
StringDecoder
v
default
sys.ts
N
types
T
v
TextDecoder
T
v
TextEncoder
v
default
f
callbackify
f
deprecate
f
format
f
getSystemErrorName
f
inherits
f
inspect
f
isArray
f
isBoolean
f
isError
f
isFunction
f
isNull
f
isNullOrUndefined
f
isNumber
f
isObject
f
isPrimitive
f
isRegExp
f
isString
f
isSymbol
f
isUndefined
f
promisify
timers.ts
v
clearImmediate
v
clearInterval
v
clearTimeout
v
default
v
setImmediate
v
setInterval
v
setTimeout
tty.ts
v
default
f
isatty
url.ts
v
default
v
URL
f
fileURLToPath
f
pathToFileURL
util.ts
N
types
T
v
TextDecoder
T
v
TextEncoder
v
default
f
callbackify
f
deprecate
f
format
f
getSystemErrorName
f
inherits
f
inspect
f
isArray
f
isBoolean
f
isError
f
isFunction
f
isNull
f
isNullOrUndefined
f
isNumber
f
isObject
f
isPrimitive
f
isRegExp
f
isString
f
isSymbol
f
isUndefined
f
promisify
variable
default
import
{
default
}
from
"https://dotland.deno.dev/std@0.110.0/node/os.ts"
;
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.