Skip to main content
All Symbols - Deno documentation

default

The global namespace where Deno specific, non-standard APIs are located.

N
Deno

The global namespace where Deno specific, non-standard APIs are located.

T
Deno.Addr
No documentation available
f
Deno.addSignalListener

Registers the given function as a listener of the given signal event.

v
Deno.args

Returns the script arguments to the program.

I
Deno.AtomicCheck

A check to perform as part of a Deno.AtomicOperation. The checkwill fail if the versionstamp for the key-value pair in the KV store doesnot match the given versionstamp. A check with a null versionstamp checksthat the key-value pair does not currently exist in the KV store.

c
Deno.AtomicOperation

An operation on a Deno.Kv that can be performedatomically. Atomic operations do not auto-commit, and must be committedexplicitly by calling the commit method.

I
Deno.BasicAuth

Basic authentication credentials to be used with a Deno.Proxyserver when specifying Deno.CreateHttpClientOptions.

f
Deno.bench

Register a benchmark test which will be run when deno bench is used onthe command line and the containing module looks like a bench module.

I
Deno.BenchContext

Context that is passed to a benchmarked function. The instance is sharedbetween iterations of the benchmark. Its methods can be used for exampleto override of the measured portion of the function.

I
Deno.BenchDefinition

The interface for defining a benchmark test using Deno.bench.

v
Deno.brand
No documentation available
v
Deno.build

Information related to the build of the current Deno runtime.

I
Deno.CAARecord

If Deno.resolveDns is called with "CAA" record typespecified, it will resolve with an array of objects with this interface.

f
Deno.chdir

Change the current working directory to the specified path.

c
Deno.ChildProcess

The interface for handling a child process returned fromDeno.Command.spawn.

f
Deno.chmod

Changes the permission of a specific file/directory of specified path.Ignores the process's umask.

f
Deno.chmodSync

Synchronously changes the permission of a specific file/directory ofspecified path. Ignores the process's umask.

f
Deno.chown

Change owner of a regular file or directory.

f
Deno.chownSync

Synchronously change owner of a regular file or directory.

c
Deno.Command

Create a child process.

I
Deno.CommandOptions

Options which can be set when calling Deno.Command.

I
Deno.CommandOutput

The interface returned from calling Deno.Command.output orDeno.Command.outputSync which represents the result of spawning thechild process.

I
Deno.CommandStatus
No documentation available
T
Deno.ConditionalAsync
No documentation available
I
Deno.Conn
No documentation available
f
Deno.connect

Connects to the hostname (default is "127.0.0.1") and port on the namedtransport (default is "tcp"), and resolves to the connection (Conn).

I
Deno.ConnectOptions
No documentation available
f
Deno.connectTls

Establishes a secure connection over TLS (transport layer security) usingan optional cert file, hostname (default is "127.0.0.1") and port. Thecert file is optional and if not included Mozilla's root certificates willbe used (see also https://github.com/ctz/webpki-roots for specifics)

I
Deno.ConnectTlsOptions
No documentation available
f
Deno.consoleSize

Gets the size of the console as columns/rows.

f
Deno.copyFile

Copies the contents and permissions of one file to another specified path,by default creating a new file if needed, else overwriting. Fails if targetpath is a directory or is unwritable.

f
Deno.copyFileSync

Synchronously copies the contents and permissions of one file to anotherspecified path, by default creating a new file if needed, else overwriting.Fails if target path is a directory or is unwritable.

f
Deno.create

Creates a file if none exists or truncates an existing file and resolves toan instance of Deno.FsFile.

f
Deno.createHttpClient

Create a custom HttpClient to use with fetch. This is anextension of the web platform Fetch API which allows Deno to use customTLS certificates and connect via a proxy while using fetch().

I
Deno.CreateHttpClientOptions

The options used when creating a Deno.HttpClient.

f
Deno.createSync

Creates a file if none exists or truncates an existing file and returnsan instance of Deno.FsFile.

f
Deno.cron

Create a cron job that will periodically execute the provided handlercallback based on the specified schedule.

I
Deno.CronSchedule

CronSchedule is the interface used for JSON formatcron schedule.

T
Deno.CronScheduleExpression

CronScheduleExpression is used as the type of minute, hour,dayOfMonth, month, and dayOfWeek in CronSchedule.

f
Deno.cwd

Return a string representing the current working directory.

I
Deno.DatagramConn

A generic transport listener for message-oriented protocols.

I
Deno.DenoTest
No documentation available
I
Deno.DirEntry

Information about a directory entry returned from Deno.readDirand Deno.readDirSync.

f
Deno.dlopen

Opens an external dynamic library and registers symbols, making foreignfunctions available to be called.

I
Deno.DynamicLibrary

A dynamic library resource. Use Deno.dlopen to load a dynamiclibrary and return this interface.

I
Deno.Env

An interface containing methods to interact with the process environmentvariables.

v
Deno.env

An interface containing methods to interact with the process environmentvariables.

I
Deno.EnvPermissionDescriptor

The permission descriptor for the allow-env and deny-env permissions, which controlsaccess to being able to read and write to the process environment variablesas well as access other information about the environment. The optionvariable allows scoping the permission to a specific environmentvariable.

N
Deno.errors

A set of error constructors that are raised by Deno APIs.

c
Deno.errors.AddrInUse

Raised when attempting to open a server listener on an address and portthat already has a listener.

c
Deno.errors.AddrNotAvailable

Raised when the underlying operating system reports an EADDRNOTAVAILerror.

c
Deno.errors.AlreadyExists

Raised when trying to create a resource, like a file, that alreadyexits.

c
Deno.errors.BadResource

The underlying IO resource is invalid or closed, and so the operationcould not be performed.

c
Deno.errors.BrokenPipe

Raised when trying to write to a resource and a broken pipe error occurs.This can happen when trying to write directly to stdout or stderrand the operating system is unable to pipe the output for a reasonexternal to the Deno runtime.

c
Deno.errors.Busy

Raised when the underlying IO resource is not available because it isbeing awaited on in another block of code.

c
Deno.errors.ConnectionAborted

Raised when the underlying operating system reports an ECONNABORTEDerror.

c
Deno.errors.ConnectionRefused

Raised when the underlying operating system reports that a connection toa resource is refused.

c
Deno.errors.ConnectionReset

Raised when the underlying operating system reports that a connection hasbeen reset. With network servers, it can be a normal occurrence where aclient will abort a connection instead of properly shutting it down.

c
Deno.errors.FilesystemLoop

Raised when too many symbolic links were encountered when resolving thefilename.

c
Deno.errors.Http

Raised in situations where when attempting to load a dynamic import,too many redirects were encountered.

c
Deno.errors.Interrupted

Raised when the underlying operating system reports an EINTR error. Inmany cases, this underlying IO error will be handled internally withinDeno, or result in an @{link BadResource} error instead.

c
Deno.errors.InvalidData

Raised when an operation to returns data that is invalid for theoperation being performed.

c
Deno.errors.IsADirectory

Raised when trying to open, create or write to a directory.

c
Deno.errors.NetworkUnreachable

Raised when performing a socket operation but the remote host isnot reachable.

c
Deno.errors.NotADirectory

Raised when trying to perform an operation on a path that is not adirectory, when directory is required.

c
Deno.errors.NotConnected

Raised when the underlying operating system reports an ENOTCONN error.

c
Deno.errors.NotFound

Raised when the underlying operating system indicates that the filewas not found.

c
Deno.errors.NotSupported

Raised when the underlying Deno API is asked to perform a function thatis not currently supported.

c
Deno.errors.PermissionDenied

Raised when the underlying operating system indicates the current userwhich the Deno process is running under does not have the appropriatepermissions to a file or resource, or the user did not provide required--allow-* flag.

c
Deno.errors.TimedOut

Raised when the underlying operating system reports that an I/O operationhas timed out (ETIMEDOUT).

c
Deno.errors.UnexpectedEof

Raised when attempting to read bytes from a resource, but the EOF wasunexpectedly encountered.

c
Deno.errors.WouldBlock

Raised when the underlying operating system would need to block tocomplete but an asynchronous (non-blocking) API is used.

c
Deno.errors.WriteZero

Raised when expecting to write to a IO buffer resulted in zero bytesbeing written.

f
Deno.execPath

Returns the path to the current deno executable.

f
Deno.exit

Exit the Deno process with optional exit code.

v
Deno.exitCode

The exit code for the Deno process.

f
Deno.fdatasync

Flushes any pending data operations of the given file stream to disk.

f
Deno.fdatasyncSync

Synchronously flushes any pending data operations of the given file streamto disk.

I
Deno.FfiPermissionDescriptor

The permission descriptor for the allow-ffi and deny-ffi permissions, which controlsaccess to loading foreign code and interfacing with it via theForeign Function Interface APIavailable in Deno. The option path allows scoping the permission to aspecific path on the host.

I
Deno.FileInfo

Provides information about a file and is returned byDeno.stat, Deno.lstat, Deno.statSync,and Deno.lstatSync or from calling stat() and statSync()on an Deno.FsFile instance.

f
Deno.flock

Acquire an advisory file-system lock for the provided file.

f
Deno.flockSync

Acquire an advisory file-system lock synchronously for the provided file.

I
Deno.ForeignFunction

The interface for a foreign function as defined by its parameter and resulttypes.

I
Deno.ForeignLibraryInterface

A foreign library interface descriptor.

I
Deno.ForeignStatic
No documentation available
T
Deno.FromForeignFunction
No documentation available
T
Deno.FromNativeParameterTypes
No documentation available
T
Deno.FromNativeResultType

Type conversion for foreign symbol return types.

T
Deno.FromNativeType

Type conversion for foreign symbol return types and unsafe callbackparameters.

I
Deno.FsEvent

Represents a unique file system event yielded by aDeno.FsWatcher.

T
Deno.FsEventFlag

Additional information for FsEvent objects with the "other" kind.

c
Deno.FsFile

The Deno abstraction for reading and writing files.

I
Deno.FsWatcher

Returned by Deno.watchFs. It is an async iterator yielding upsystem events. To stop watching the file system by calling .close()method.

f
Deno.fsync

Flushes any pending data and metadata operations of the given file streamto disk.

f
Deno.fsyncSync

Synchronously flushes any pending data and metadata operations of the givenfile stream to disk.

f
Deno.funlock

Release an advisory file-system lock for the provided file.

f
Deno.funlockSync

Release an advisory file-system lock for the provided file synchronously.

f
Deno.gid

Returns the group id of the process on POSIX platforms. Returns null on windows.

f
Deno.hostname

Get the hostname of the machine the Deno process is running on.

I
Deno.HrtimePermissionDescriptor

The permission descriptor for the allow-hrtime and deny-hrtime permissions, whichcontrols if the runtime code has access to high resolution time. Highresolution time is considered sensitive information, because it can be usedby malicious code to gain information about the host that it might nototherwise have access to.

I
Deno.HttpClient

A custom HttpClient for use with fetch function. This isdesigned to allow custom certificates or proxies to be used with fetch().

I
Deno.HttpServer

An instance of the server created using Deno.serve() API.

f
Deno.inspect

Converts the input into a string that has the same format as printed byconsole.log().

I
Deno.InspectOptions

Option which can be specified when performing Deno.inspect.

N
Deno.jupyter

A namespace containing runtime APIs available in Jupyter notebooks.

v
Deno.jupyter.$display
No documentation available
f
Deno.jupyter.broadcast

Broadcast a message on IO pub channel.

f
Deno.jupyter.display

Display function for Jupyter Deno Kernel.Mimics the behavior of IPython's display(obj, raw=True) function to allowasynchronous displaying of objects in Jupyter.

T
Deno.jupyter.Displayable
No documentation available
I
Deno.jupyter.DisplayOptions
No documentation available
f
Deno.jupyter.format

Format an object for displaying in Deno

f
Deno.jupyter.html

Show HTML in Jupyter frontends with a tagged template function.

f
Deno.jupyter.md

Show Markdown in Jupyter frontends with a tagged template function.

T
Deno.jupyter.MediaBundle

A collection of supported media types and data for Jupyter frontends.

f
Deno.jupyter.svg

SVG Tagged Template Function.

T
Deno.jupyter.VegaObject
No documentation available
f
Deno.kill

Send a signal to process under given pid. The value and meaning of thesignal to the process is operating system and process dependant.Signal provides the most common signals. Default signalis "SIGTERM".

c
Deno.Kv

A key-value database that can be used to store and retrieve data.

I
Deno.KvCommitError
No documentation available
I
Deno.KvCommitResult
No documentation available
T
Deno.KvConsistencyLevel

Consistency level of a KV operation.

T
Deno.KvEntry

A versioned pair of key and value in a Deno.Kv.

T
Deno.KvEntryMaybe

An optional versioned pair of key and value in a Deno.Kv.

T
Deno.KvKey

A key to be persisted in a Deno.Kv. A key is a sequenceof Deno.KvKeyParts.

T
Deno.KvKeyPart

A single part of a Deno.KvKey. Parts are orderedlexicographically, first by their type, and within a given type by theirvalue.

c
Deno.KvListIterator

An iterator over a range of data entries in a Deno.Kv.

I
Deno.KvListOptions

Options for listing key-value pairs in a Deno.Kv.

T
Deno.KvListSelector

A selector that selects the range of data returned by a list operation on aDeno.Kv.

T
Deno.KvMutation

A mutation to a key in a Deno.Kv. A mutation is acombination of a key, a value, and a type. The type determines how themutation is applied to the key.

c
Deno.KvU64

Wrapper type for 64-bit unsigned integers for use as values in aDeno.Kv.

f
Deno.linkSync

Synchronously creates newpath as a hard link to oldpath.

f
Deno.listen

Listen announces on the local transport address.

f
Deno.listenDatagram

Listen announces on the local transport address.

I
Deno.Listener

A generic network listener for stream-oriented protocols.

I
Deno.ListenOptions
No documentation available
f
Deno.listenTls

Listen announces on the local transport address over TLS (transport layersecurity).

I
Deno.ListenTlsOptions
No documentation available
f
Deno.loadavg

Returns an array containing the 1, 5, and 15 minute load averages. Theload average is a measure of CPU and IO utilization of the last one, five,and 15 minute periods expressed as a fractional number. Zero means thereis no load. On Windows, the three values are always the same and representthe current load, not the 1, 5 and 15 minute load averages.

f
Deno.lstat

Resolves to a Deno.FileInfo for the specified path. Ifpath is a symlink, information for the symlink will be returned insteadof what it points to.

f
Deno.lstatSync

Synchronously returns a Deno.FileInfo for the specifiedpath. If path is a symlink, information for the symlink will bereturned instead of what it points to.

v
Deno.mainModule

The URL of the entrypoint module entered from the command-line. Itrequires read permission to the CWD.

f
Deno.makeTempDir

Creates a new temporary directory in the default directory for temporaryfiles, unless dir is specified. Other optional options includeprefixing and suffixing the directory name with prefix and suffixrespectively.

f
Deno.makeTempDirSync

Synchronously creates a new temporary directory in the default directoryfor temporary files, unless dir is specified. Other optional optionsinclude prefixing and suffixing the directory name with prefix andsuffix respectively.

f
Deno.makeTempFile

Creates a new temporary file in the default directory for temporaryfiles, unless dir is specified.

f
Deno.makeTempFileSync

Synchronously creates a new temporary file in the default directory fortemporary files, unless dir is specified.

I
Deno.MakeTempOptions

Options which can be set when using Deno.makeTempDir,Deno.makeTempDirSync, Deno.makeTempFile, andDeno.makeTempFileSync.

I
Deno.MemoryUsage
No documentation available
f
Deno.memoryUsage

Returns an object describing the memory usage of the Deno process and theV8 subsystem measured in bytes.

f
Deno.mkdir

Creates a new directory with the specified path.

I
Deno.MkdirOptions

Options which can be set when using Deno.mkdir andDeno.mkdirSync.

f
Deno.mkdirSync

Synchronously creates a new directory with the specified path.

I
Deno.MulticastV4Membership

Represents membership of a IPv4 multicast group.

I
Deno.MulticastV6Membership

Represents membership of a IPv6 multicast group.

I
Deno.MXRecord

If Deno.resolveDns is called with "MX" record typespecified, it will return an array of objects with this interface.

I
Deno.NAPTRRecord

If Deno.resolveDns is called with "NAPTR" record typespecified, it will return an array of objects with this interface.

T
Deno.NativeBigIntType

All BigInt number types for interfacing with foreign functions.

T
Deno.NativeBooleanType

The native boolean type for interfacing to foreign functions.

T
Deno.NativeBufferType

The native buffer type for interfacing to foreign functions.

T
Deno.NativeFunctionType

The native function type for interfacing with foreign functions.

T
Deno.NativeI16Enum
No documentation available
T
Deno.NativeI32Enum
No documentation available
T
Deno.NativeI8Enum
No documentation available
T
Deno.NativeNumberType

All plain number types for interfacing with foreign functions.

T
Deno.NativePointerType

The native pointer type for interfacing to foreign functions.

T
Deno.NativeResultType
No documentation available
T
Deno.NativeStructType

The native struct type for interfacing with foreign functions.

T
Deno.NativeType

All supported types for interfacing with foreign functions.

T
Deno.NativeTypedFunction
No documentation available
T
Deno.NativeTypedPointer
No documentation available
T
Deno.NativeU16Enum
No documentation available
T
Deno.NativeU32Enum
No documentation available
T
Deno.NativeU8Enum
No documentation available
T
Deno.NativeVoidType

The native void type for interfacing with foreign functions.

I
Deno.NetAddr
No documentation available
I
Deno.NetPermissionDescriptor

The permission descriptor for the allow-net and deny-net permissions, which controlsaccess to opening network ports and connecting to remote hosts via thenetwork. The option host allows scoping the permission for outboundconnection to a specific host and port.

I
Deno.NetworkInterfaceInfo

The information for a network interface returned from a call toDeno.networkInterfaces.

f
Deno.networkInterfaces

Returns an array of the network interface information.

v
Deno.noColor

Reflects the NO_COLOR environment variable at program start.

f
Deno.open

Open a file and resolve to an instance of Deno.FsFile. Thefile does not need to previously exist if using the create or createNewopen options. The caller may have the resulting file automatically closedby the runtime once it's out of scope by declaring the file variable withthe using keyword.

f
Deno.openKv

Open a new Deno.Kv connection to persist data.

I
Deno.OpenOptions

Options which can be set when doing Deno.open andDeno.openSync.

f
Deno.openSync

Synchronously open a file and return an instance ofDeno.FsFile. The file does not need to previously exist ifusing the create or createNew open options. The caller may have theresulting file automatically closed by the runtime once it's out of scopeby declaring the file variable with the using keyword.

f
Deno.osRelease

Returns the release version of the Operating System.

f
Deno.osUptime

Returns the Operating System uptime in number of seconds.

T
Deno.PermissionDescriptor

Permission descriptors which define a permission and can be queried,requested, or revoked.

T
Deno.PermissionName

The name of a privileged feature which needs permission.

T
Deno.PermissionOptions

Options which define the permissions within a test or worker context.

I
Deno.PermissionOptionsObject

A set of options which can define the permissions within a test or workercontext at a highly specific level.

c
Deno.Permissions

Deno's permission management API.

v
Deno.permissions

Deno's permission management API.

T
Deno.PermissionState

The current status of the permission:

c
Deno.PermissionStatus

An EventTarget returned from the Deno.permissionsAPI which can provide updates to any state changes of the permission.

I
Deno.PermissionStatusEventMap

The interface which defines what event types are supported byPermissionStatus instances.

v
Deno.pid

The current process ID of this instance of the Deno CLI.

T
Deno.PointerObject

A non-null pointer, represented as an objectat runtime. The object's prototype is nulland cannot be changed. The object cannot beassigned to either and is thus entirely read-only.

T
Deno.PointerValue

Pointers are represented either with a PointerObjectobject or a null if the pointer is null.

v
Deno.ppid

The process ID of parent process of this instance of the Deno CLI.

I
Deno.Proxy

The definition of a proxy when specifyingDeno.CreateHttpClientOptions.

f
Deno.readDir

Reads the directory given by path and returns an async iterable ofDeno.DirEntry. The order of entries is not guaranteed.

f
Deno.readDirSync

Synchronously reads the directory given by path and returns an iterableof Deno.DirEntry. The order of entries is not guaranteed.

f
Deno.readFile

Reads and resolves to the entire contents of a file as an array of bytes.TextDecoder can be used to transform the bytes to string if required.Reading a directory returns an empty data array.

I
Deno.ReadFileOptions

Options which can be set when using Deno.readFile orDeno.readFileSync.

f
Deno.readFileSync

Synchronously reads and returns the entire contents of a file as an arrayof bytes. TextDecoder can be used to transform the bytes to string ifrequired. Reading a directory returns an empty data array.

f
Deno.readLinkSync

Synchronously returns the full path destination of the named symboliclink.

I
Deno.ReadPermissionDescriptor

The permission descriptor for the allow-read and deny-read permissions, which controlsaccess to reading resources from the local host. The option path allowsscoping the permission to a specific path (and if the path is a directoryany sub paths).

f
Deno.readTextFile

Asynchronously reads and returns the entire contents of a file as an UTF-8decoded string. Reading a directory throws an error.

f
Deno.readTextFileSync

Synchronously reads and returns the entire contents of a file as an UTF-8decoded string. Reading a directory throws an error.

f
Deno.realPath

Resolves to the absolute normalized path, with symbolic links resolved.

f
Deno.realPathSync

Synchronously returns absolute normalized path, with symbolic linksresolved.

T
Deno.RecordType

The type of the resource record to resolve via DNS usingDeno.resolveDns.

f
Deno.refTimer

Make the timer of the given id block the event loop from finishing.

f
Deno.remove

Removes the named file or directory.

I
Deno.RemoveOptions

Options which can be set when using Deno.remove andDeno.removeSync.

f
Deno.removeSignalListener

Removes the given signal listener that has been registered withDeno.addSignalListener.

f
Deno.removeSync

Synchronously removes the named file or directory.

f
Deno.rename

Renames (moves) oldpath to newpath. Paths may be files or directories.If newpath already exists and is not a directory, rename() replaces it.OS-specific restrictions may apply when oldpath and newpath are indifferent directories.

f
Deno.renameSync

Synchronously renames (moves) oldpath to newpath. Paths may be files ordirectories. If newpath already exists and is not a directory,renameSync() replaces it. OS-specific restrictions may apply whenoldpath and newpath are in different directories.

f
Deno.resolveDns

Performs DNS resolution against the given query, returning resolvedrecords.

I
Deno.ResolveDnsOptions

Options which can be set when using Deno.resolveDns.

f
Deno.run

Spawns new subprocess. RunOptions must contain at a minimum the opt.cmd,an array of program arguments, the first of which is the binary.

I
Deno.RunPermissionDescriptor

The permission descriptor for the allow-run and deny-run permissions, which controlsaccess to what sub-processes can be executed by Deno. The option commandallows scoping the permission to a specific executable.

I
Deno.Seeker

An abstract interface which when implemented provides an interface to seekwithin an open file/resource asynchronously.

I
Deno.SeekerSync

An abstract interface which when implemented provides an interface to seekwithin an open file/resource synchronously.

E
Deno.SeekMode

A enum which defines the seek mode for IO related APIs that supportseeking.

f
Deno.serve

Serves HTTP requests with the given handler.

I
Deno.ServeDefaultExport

Interface that module run with deno serve subcommand must conform to.

T
Deno.ServeHandler

A handler for HTTP requests. Consumes a request and returns a response.

I
Deno.ServeHandlerInfo

Information for a HTTP request.

I
Deno.ServeInit
No documentation available
I
Deno.ServeOptions

Options which can be set when calling Deno.serve.

I
Deno.ServeTlsInit
No documentation available
I
Deno.ServeTlsOptions

Additional options which are used when opening a TLS (HTTPS) server.

T
Deno.ServeUnixHandler

A handler for unix domain socket HTTP requests. Consumes a request and returns a response.

I
Deno.ServeUnixHandlerInfo

Information for a unix domain socket HTTP request.

I
Deno.ServeUnixInit
No documentation available
I
Deno.ServeUnixOptions
No documentation available
I
Deno.SetRawOptions
No documentation available
T
Deno.Signal

Operating signals which can be listened for or sent to sub-processes. Whatsignals and what their standard behaviors are OS dependent.

I
Deno.SOARecord

If Deno.resolveDns is called with "SOA" record typespecified, it will return an array of objects with this interface.

I
Deno.SRVRecord

If Deno.resolveDns is called with "SRV" record typespecified, it will return an array of objects with this interface.

f
Deno.startTls

Start TLS handshake from an existing connection using an optional list ofCA certificates, and hostname (default is "127.0.0.1"). Specifying CA certsis optional. By default the configured root certificates are used. Usingthis function requires that the other end of the connection is prepared fora TLS handshake.

I
Deno.StartTlsOptions
No documentation available
f
Deno.stat

Resolves to a Deno.FileInfo for the specified path. Willalways follow symlinks.

T
Deno.StaticForeignLibraryInterface

A utility type that infers a foreign library interface.

T
Deno.StaticForeignSymbol

A utility type that infers a foreign symbol.

T
Deno.StaticForeignSymbolReturnType
No documentation available
f
Deno.statSync

Synchronously returns a Deno.FileInfo for the specifiedpath. Will always follow symlinks.

v
Deno.stderr

A reference to stderr which can be used to write directly to stderr.It implements the Deno specific Writer, WriterSync,and Closer interfaces as well as provides aWritableStream interface.

v
Deno.stdin

A reference to stdin which can be used to read directly from stdin.It implements the Deno specific Reader, ReaderSync,and Closer interfaces as well as provides aReadableStream interface.

v
Deno.stdout

A reference to stdout which can be used to write directly to stdout.It implements the Deno specific Writer, WriterSync,and Closer interfaces as well as provides aWritableStream interface.

I
Deno.SymlinkOptions

Options that can be used with symlink andsymlinkSync.

f
Deno.symlinkSync

Creates newpath as a symbolic link to oldpath.

I
Deno.SysPermissionDescriptor

The permission descriptor for the allow-sys and deny-sys permissions, which controlsaccess to sensitive host system information, which malicious code mightattempt to exploit. The option kind allows scoping the permission to aspecific piece of information.

I
Deno.SystemMemoryInfo

Information returned from a call to Deno.systemMemoryInfo.

f
Deno.systemMemoryInfo

Displays the total amount of free and used physical and swap memory in thesystem, as well as the buffers and caches used by the kernel.

I
Deno.TcpConn
No documentation available
T
Deno.TcpListener

Specialized listener that accepts TCP connections.

I
Deno.TcpListenOptions
No documentation available
v
Deno.test

Register a test which will be run when deno test is used on the commandline and the containing module looks like a test module.

I
Deno.TestContext

Context that is passed to a testing function, which can be used to eithergain information about the current test, or register additional teststeps within the current test.

I
Deno.TestDefinition
No documentation available
I
Deno.TestStepDefinition
No documentation available
T
Deno.TlsCertifiedKeyOptions

Provides TLS certified keys, ie: a key that has been certified by a trusted certificate authority.A certified key generally consists of a private key and certificate part.

I
Deno.TlsCertifiedKeyPem

Provides certified key material from strings. The key material is provided inPEM-format (Privacy Enhanced Mail, https://www.rfc-editor.org/rfc/rfc1422) which can be identified by having-----BEGIN----- and -----END----- markers at the beginning and end of the strings. This type of key is not compatiblewith DER-format keys which are binary.

I
Deno.TlsConn
No documentation available
I
Deno.TlsHandshakeInfo
No documentation available
T
Deno.TlsListener

Specialized listener that accepts TLS connections.

T
Deno.ToNativeParameterTypes

A utility type for conversion of parameter types of foreign functions.

T
Deno.ToNativeResultType

Type conversion for unsafe callback return types.

T
Deno.ToNativeType

Type conversion for foreign symbol parameters and unsafe callback returntypes.

f
Deno.truncate

Truncates (or extends) the specified file, to reach the specified len.If len is not specified then the entire file contents are truncated.

f
Deno.truncateSync

Synchronously truncates (or extends) the specified file, to reach thespecified len. If len is not specified then the entire file contentsare truncated.

I
Deno.UdpListenOptions

Unstable options which can be set when opening a datagram listener viaDeno.listenDatagram.

f
Deno.uid

Returns the user id of the process on POSIX platforms. Returns null on Windows.

f
Deno.umask

Retrieve the process umask. If mask is provided, sets the process umask.This call always returns what the umask was before the call.

I
Deno.UnixAddr
No documentation available
I
Deno.UnixConn
No documentation available
I
Deno.UnixConnectOptions
No documentation available
T
Deno.UnixListener

Specialized listener that accepts Unix connections.

I
Deno.UnixListenOptions

Options which can be set when opening a Unix listener viaDeno.listen or Deno.listenDatagram.

f
Deno.unrefTimer

Make the timer of the given id not block the event loop from finishing.

c
Deno.UnsafeCallback

An unsafe function pointer for passing JavaScript functions as C functionpointers to foreign function calls.

I
Deno.UnsafeCallbackDefinition

Definition of a unsafe callback function.

T
Deno.UnsafeCallbackFunction

An unsafe callback function.

c
Deno.UnsafeFnPointer

An unsafe pointer to a function, for calling functions that are not presentas symbols.

c
Deno.UnsafePointer

A collection of static functions for interacting with pointer objects.

c
Deno.UnsafePointerView

An unsafe pointer view to a memory location as specified by the pointervalue. The UnsafePointerView API follows the standard built in interfaceDataView for accessing the underlying types at an memorylocation (numbers, strings and raw bytes).

c
Deno.UnsafeWindowSurface

Creates a presentable WebGPU surface from given window anddisplay handles.

I
Deno.UnstableRunOptions

These are unstable options which can be used with Deno.run.

f
Deno.upgradeWebSocket

Upgrade an incoming HTTP request to a WebSocket.

I
Deno.UpgradeWebSocketOptions

Options which can be set when performing aDeno.upgradeWebSocket upgrade of a Request

f
Deno.utime

Changes the access (atime) and modification (mtime) times of a filesystem object referenced by path. Given times are either in seconds(UNIX epoch time) or as Date objects.

f
Deno.utimeSync

Synchronously changes the access (atime) and modification (mtime) timesof a file system object referenced by path. Given times are either inseconds (UNIX epoch time) or as Date objects.

v
Deno.version

Version information related to the current Deno CLI runtime environment.

f
Deno.watchFs

Watch for file system events against one or more paths, which can befiles or directories. These paths must exist already. One user action (e.g.touch test.file) can generate multiple file system events. Likewise,one user action can result in multiple file paths in one event (e.g. mv old_name.txt new_name.txt).

I
Deno.WebSocketUpgrade

The object that is returned from a Deno.upgradeWebSocketrequest.

f
Deno.writeFile

Write data to the given path, by default creating a new file ifneeded, else overwriting.

I
Deno.WriteFileOptions

Options for writing to a file.

f
Deno.writeFileSync

Synchronously write data to the given path, by default creating a newfile if needed, else overwriting.

I
Deno.WritePermissionDescriptor

The permission descriptor for the allow-write and deny-write permissions, whichcontrols access to writing to resources from the local host. The optionpath allow scoping the permission to a specific path (and if the path isa directory any sub paths).

f
Deno.writeTextFile

Write string data to the given path, by default creating a new file ifneeded, else overwriting.

f
Deno.writeTextFileSync

Synchronously write string data to the given path, by default creatinga new file if needed, else overwriting.

c
Deno.Buffer

A variable-sized buffer of bytes with read() and write() methods.

f
Deno.close

Close the given resource ID (rid) which has been previously opened, suchas via opening or creating a file. Closing a file when you are finishedwith it is important to avoid leaking resources.

I
Deno.Closer

An abstract interface which when implemented provides an interface to closefiles/resources that were previously opened.

f
Deno.copy

Copies from src to dst until either EOF (null) is read from src oran error occurs. It resolves to the number of bytes copied or rejects withthe first error encountered while copying.

v
Deno.customInspect

A symbol which can be used as a key for a custom method which will becalled when Deno.inspect() is called, or when the object is logged tothe console.

v
Deno.File

The Deno abstraction for reading and writing files.

f
Deno.fstat

Returns a Deno.FileInfo for the given file stream.

f
Deno.fstatSync

Synchronously returns a Deno.FileInfo for the given filestream.

f
Deno.ftruncate

Truncates or extends the specified file stream, to reach the specifiedlen.

f
Deno.ftruncateSync

Synchronously truncates or extends the specified file stream, to reach thespecified len.

f
Deno.futime

Changes the access (atime) and modification (mtime) times of a filestream resource referenced by rid. Given times are either in seconds(UNIX epoch time) or as Date objects.

f
Deno.futimeSync

Synchronously changes the access (atime) and modification (mtime) timesof a file stream resource referenced by rid. Given times are either inseconds (UNIX epoch time) or as Date objects.

I
Deno.HttpConn

The async iterable that is returned from serveHttp whichyields up RequestEvent events, representing individualrequests on the HTTP server connection.

f
Deno.isatty

Check if a given resource id (rid) is a TTY (a terminal).

f
Deno.iter

Turns a Reader, r, into an async iterator.

f
Deno.iterSync

Turns a ReaderSync, r, into an iterator.

I
Deno.Metrics
No documentation available
f
Deno.metrics

Receive metrics from the privileged side of Deno. This is primarily usedin the development of Deno. Ops, also called bindings, are thego-between between Deno JavaScript sandbox and the rest of Deno.

I
Deno.OpMetrics
No documentation available
c
Deno.Process

Represents an instance of a sub process that is returned fromDeno.run which can be used to manage the sub-process.

T
Deno.ProcessStatus

The status resolved from the .status() method of aDeno.Process instance.

f
Deno.read

Read from a resource ID (rid) into an array buffer (buffer).

f
Deno.readAll

Read Reader r until EOF (null) and resolve to the content asUint8Array`.

f
Deno.readAllSync

Synchronously reads Reader r until EOF (null) and returns the contentas Uint8Array.

I
Deno.Reader

An abstract interface which when implemented provides an interface to readbytes into an array buffer asynchronously.

I
Deno.ReaderSync

An abstract interface which when implemented provides an interface to readbytes into an array buffer synchronously.

f
Deno.readSync

Synchronously read from a resource ID (rid) into an array buffer(buffer).

I
Deno.RequestEvent

The event yielded from an HttpConn which represents an HTTPrequest from a remote client.

I
Deno.ResourceMap

A map of open resources that Deno is tracking. The key is the resource ID(rid) and the value is its representation.

f
Deno.resources

Returns a map of open resource IDs (rid) along with their stringrepresentations. This is an internal API and as such resourcerepresentation has unknown type; that means it can change any time andshould not be depended upon.

I
Deno.RunOptions

Options which can be used with Deno.run.

f
Deno.seek

Seek a resource ID (rid) to the given offset under mode given by whence.The call resolves to the new position within the resource (bytes from the start).

f
Deno.seekSync

Synchronously seek a resource ID (rid) to the given offset under modegiven by whence. The new position within the resource (bytes from thestart) is returned.

f
Deno.serveHttp

Provides an interface to handle HTTP request and responses over TCP or TLSconnections. The method returns an HttpConn which yields upRequestEvent events, which utilize the web platform standardRequest and Response objects to handle the request.

T
Deno.Server
No documentation available
f
Deno.shutdown

Shutdown socket send operations.

I
Deno.TlsCertifiedKeyConnectTls
No documentation available
I
Deno.TlsCertifiedKeyFromFile
No documentation available
f
Deno.write

Write to the resource ID (rid) the contents of the array buffer (data).

f
Deno.writeAll

Write all the content of the array buffer (arr) to the writer (w).

f
Deno.writeAllSync

Synchronously write all the content of the array buffer (arr) to thewriter (w).

I
Deno.Writer

An abstract interface which when implemented provides an interface to writebytes from an array buffer to a file/resource asynchronously.

I
Deno.WriterSync

An abstract interface which when implemented provides an interface to writebytes from an array buffer to a file/resource synchronously.

f
Deno.writeSync

Synchronously write to the resource ID (rid) the contents of the arraybuffer (data).