d/deno library

Classes

$ModuleDeno
$ModuleErrors
$ModuleWebAssembly
AbortController
A controller object that allows you to abort one or more DOM requests as and when desired.
AbortSignal
A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
AbortSignalEventMap
AddEventListenerOptions
AddrInUse
Raised when attempting to open a server listener on an address and port that already has a listener.
AddrNotAvailable
Raised when the underlying operating system reports an EADDRNOTAVAIL error.
AesCbcParams
AesCtrParams
AesDerivedKeyParams
AesGcmParams
AesKeyAlgorithm
AesKeyGenParams
Algorithm
AlreadyExists
Raised when trying to create a resource, like a file, that already exits.
BadResource
The underlying IO resource is invalid or closed, and so the operation could not be performed.
BenchContext
Context that is passed to a benchmarked function. The instance is shared between iterations of the benchmark. Its methods can be used for example to override of the measured portion of the function.
BenchDefinition
The interface for defining a benchmark test using {@linkcode Deno.bench}.
Blob
A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
BlobPropertyBag
Body
BroadcastChannel
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 stderr and the operating system is unable to pipe the output for a reason external to the Deno runtime.
Buffer
A variable-sized buffer of bytes with read() and write() methods.
Busy
Raised when the underlying IO resource is not available because it is being awaited on in another block of code.
ByteLengthQueuingStrategy
CAARecord
If {@linkcode Deno.resolveDns} is called with "CAA" record type specified, it will resolve with an array of objects with this interface.
Cache
CacheQueryOptions
CacheStorage
ChildProcess
The interface for handling a child process returned from {@linkcode Deno.Command.spawn}.
CloseEvent
CloseEventInit
Closer
An abstract interface which when implemented provides an interface to close files/resources that were previously opened.
Command
Create a child process.
CommandOptions
Options which can be set when calling {@linkcode Deno.Command}.
CommandOutput
The interface returned from calling {@linkcode Deno.Command.output} or {@linkcode Deno.Command.outputSync} which represents the result of spawning the child process.
CommandStatus
CompileError
The WebAssembly.CompileError object indicates an error during WebAssembly decoding or validation.
CompressionStream
An API for compressing a stream of data.
Conn
ConnectionAborted
Raised when the underlying operating system reports an ECONNABORTED error.
ConnectionRefused
Raised when the underlying operating system reports that a connection to a resource is refused.
ConnectionReset
Raised when the underlying operating system reports that a connection has been reset. With network servers, it can be a normal occurrence where a client will abort a connection instead of properly shutting it down.
ConnectOptions
ConnectTlsOptions
Console
CountQueuingStrategy
This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
Crypto
CryptoKey
The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.
CryptoKeyPair
The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
CustomEvent<T>
CustomEventInit<T>
DecompressionStream
An API for decompressing a stream of data.
DenoTest
DirEntry
Information about a directory entry returned from {@linkcode Deno.readDir} and {@linkcode Deno.readDirSync}.
DOMException
DomIterable<K, V>
DOMStringList
EcdhKeyDeriveParams
EcdsaParams
EcKeyAlgorithm
EcKeyGenParams
EcKeyImportParams
Env
An interface containing methods to interact with the process environment variables.
EnvPermissionDescriptor
The permission descriptor for the allow-env and deny-env permissions, which controls access to being able to read and write to the process environment variables as well as access other information about the environment. The option variable allows scoping the permission to a specific environment variable.
ErrorConstructor
ErrorEvent
ErrorEventInit
Event
An event which takes place in the DOM.
EventInit
EventListener
EventListenerObject
EventListenerOptions
EventTarget
EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
FfiPermissionDescriptor
The permission descriptor for the allow-ffi and deny-ffi permissions, which controls access to loading foreign code and interfacing with it via the Foreign Function Interface API available in Deno. The option path allows scoping the permission to a specific path on the host.
File
Provides information about files and allows JavaScript in a web page to access their content.
FileInfo
Provides information about a file and is returned by {@linkcode Deno.stat}, {@linkcode Deno.lstat}, {@linkcode Deno.statSync}, and {@linkcode Deno.lstatSync} or from calling stat() and statSync() on an {@linkcode Deno.FsFile} instance.
FilePropertyBag
FileReader
Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
FilesystemLoop
Raised when too many symbolic links were encountered when resolving the filename.
FormData
Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
From
FsEvent
Represents a unique file system event yielded by a {@linkcode Deno.FsWatcher}.
FsFile
The Deno abstraction for reading and writing files.
FsWatcher
Returned by {@linkcode Deno.watchFs}. It is an async iterator yielding up system events. To stop watching the file system by calling .close() method.
Global
A WebAssembly.Global object represents a global variable instance, accessible from both JavaScript and importable/exportable across one or more WebAssembly.Module instances. This allows dynamic linking of multiple modules.
GlobalDescriptor
The GlobalDescriptor describes the options you can pass to new WebAssembly.Global().
Headers
This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples). In all methods of this interface, header names are matched by case-insensitive byte sequence.
HkdfParams
HmacImportParams
HmacKeyAlgorithm
HmacKeyGenParams
HrtimePermissionDescriptor
The permission descriptor for the allow-hrtime and deny-hrtime permissions, which controls if the runtime code has access to high resolution time. High resolution time is considered sensitive information, because it can be used by malicious code to gain information about the host that it might not otherwise have access to.
Http
Raised in situations where when attempting to load a dynamic import, too many redirects were encountered.
HttpConn
The async iterable that is returned from {@linkcode Deno.serveHttp} which yields up {@linkcode RequestEvent} events, representing individual requests on the HTTP server connection.
IInline1
IInline10
IInline11
IInline12
IInline13
IInline14
IInline15
IInline2
IInline3
IInline38
IInline4
IInline40
IInline41
IInline42
IInline43<R, T>
IInline44
IInline45
IInline47
IInline5
IInline6
IInline7
IInline70
IInline8
IInline9
ImportMeta
The type of import.meta.
InspectOptions
Option which can be specified when performing {@linkcode Deno.inspect}.
Instance
A WebAssembly.Instance object is a stateful, executable instance of a WebAssembly.Module. Instance objects contain all the Exported WebAssembly functions that allow calling into WebAssembly code from JavaScript.
Interrupted
Raised when the underlying operating system reports an EINTR error. In many cases, this underlying IO error will be handled internally within Deno, or result in an @{link BadResource} error instead.
InvalidData
Raised when an operation to returns data that is invalid for the operation being performed.
IsADirectory
Raised when trying to open, create or write to a directory.
JsonWebKey
KeyAlgorithm
LinkError
The WebAssembly.LinkError object indicates an error during module instantiation (besides traps from the start function).
Listener<T extends Conn>
A generic network listener for stream-oriented protocols.
ListenOptions
ListenTlsOptions
Location
The location (URL) of the object it is linked to. Changes done on it are reflected on the object it relates to. Accessible via globalThis.location.
MakeTempOptions
Options which can be set when using {@linkcode Deno.makeTempDir}, {@linkcode Deno.makeTempDirSync}, {@linkcode Deno.makeTempFile}, and {@linkcode Deno.makeTempFileSync}.
Memory
The WebAssembly.Memory object is a resizable ArrayBuffer or SharedArrayBuffer that holds the raw bytes of memory accessed by a WebAssembly Instance.
MemoryDescriptor
The MemoryDescriptor describes the options you can pass to new WebAssembly.Memory().
MemoryUsage
MessageChannel
The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
MessageEvent<T>
MessageEventInit<T>
MessagePort
The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
Metrics
MkdirOptions
Options which can be set when using {@linkcode Deno.mkdir} and {@linkcode Deno.mkdirSync}.
Module
A WebAssembly.Module object contains stateless WebAssembly code that has already been compiled by the browser — this can be efficiently shared with Workers, and instantiated multiple times.
ModuleExportDescriptor
A ModuleExportDescriptor is the description of a declared export in a WebAssembly.Module.
ModuleImportDescriptor
A ModuleImportDescriptor is the description of a declared import in a WebAssembly.Module.
MXRecord
If {@linkcode Deno.resolveDns} is called with "MX" record type specified, it will return an array of objects with this interface.
NAPTRRecord
If {@linkcode Deno.resolveDns} is called with "NAPTR" record type specified, it will return an array of objects with this interface.
NetAddr
NetPermissionDescriptor
The permission descriptor for the allow-net and deny-net permissions, which controls access to opening network ports and connecting to remote hosts via the network. The option host allows scoping the permission for outbound connection to a specific host and port.
NetworkInterfaceInfo
The information for a network interface returned from a call to {@linkcode Deno.networkInterfaces}.
NetworkUnreachable
Raised when performing a socket operation but the remote host is not reachable.
NotADirectory
Raised when trying to perform an operation on a path that is not a directory, when directory is required.
NotConnected
Raised when the underlying operating system reports an ENOTCONN error.
NotFound
Raised when the underlying operating system indicates that the file was not found.
NotSupported
Raised when the underlying Deno API is asked to perform a function that is not currently supported.
OpenOptions
Options which can be set when doing {@linkcode Deno.open} and {@linkcode Deno.openSync}.
OpMetrics
Pbkdf2Params
Performance
Deno supports User Timing Level 3 which is not widely supported yet in other runtimes.
PerformanceEntry
Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the .mark() method) at an explicit point in an application.
PerformanceMark
PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the performance timeline.
PerformanceMarkOptions
Options which are used in conjunction with performance.mark. Check out the MDN performance.mark() documentation for more details.
PerformanceMeasure
PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the performance timeline.
PerformanceMeasureOptions
Options which are used in conjunction with performance.measure. Check out the MDN performance.mark() documentation for more details.
PermissionDenied
Raised when the underlying operating system indicates the current user which the Deno process is running under does not have the appropriate permissions to a file or resource, or the user did not provide required --allow-* flag.
PermissionOptionsObject
A set of options which can define the permissions within a test or worker context at a highly specific level.
Permissions
Deno's permission management API.
PermissionStatus
An {@linkcode EventTarget} returned from the {@linkcode Deno.permissions} API which can provide updates to any state changes of the permission.
PipeOptions
Process<T extends RunOptions>
  • @deprecated Use {@linkcode Deno.Command} instead.
  • ProcessStatusCommon
    ProgressEvent<T extends EventTarget>
    Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an ,
    ProgressEventInit
    PromiseRejectionEvent
    PromiseRejectionEventInit
    QueuingStrategy<T>
    QueuingStrategySizeCallback<T>
    ReadableByteStreamController
    ReadableByteStreamControllerCallback
    ReadableStream<R>
    This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
    ReadableStreamBYOBReadDoneResult<V extends ArrayBufferView>
    ReadableStreamBYOBReader
    ReadableStreamBYOBReadResultCommon<V extends ArrayBufferView>
    ReadableStreamBYOBReadValueResult<V extends ArrayBufferView>
    ReadableStreamBYOBRequest
    ReadableStreamDefaultController<R>
    ReadableStreamDefaultControllerCallback<R>
    ReadableStreamDefaultReadDoneResult
    ReadableStreamDefaultReader<R>
    ReadableStreamDefaultReadResultCommon
    ReadableStreamDefaultReadValueResult<T>
    ReadableStreamErrorCallback
    Reader
    An abstract interface which when implemented provides an interface to read bytes into an array buffer asynchronously.
    ReaderSync
    An abstract interface which when implemented provides an interface to read bytes into an array buffer synchronously.
    ReadFileOptions
    Options which can be set when using {@linkcode Deno.readFile} or {@linkcode Deno.readFileSync}.
    ReadPermissionDescriptor
    The permission descriptor for the allow-read and deny-read permissions, which controls access to reading resources from the local host. The option path allows scoping the permission to a specific path (and if the path is a directory any sub paths).
    RemoveOptions
    Options which can be set when using {@linkcode Deno.remove} and {@linkcode Deno.removeSync}.
    Request
    This Fetch API interface represents a resource request.
    RequestEvent
    The event yielded from an {@linkcode HttpConn} which represents an HTTP request from a remote client.
    RequestInit
    ResolveDnsOptions
    Options which can be set when using {@linkcode Deno.resolveDns}.
    Response
    This Fetch API interface represents the response to a request.
    ResponseInit
    RsaHashedImportParams
    RsaHashedKeyAlgorithm
    RsaHashedKeyGenParams
    RsaKeyAlgorithm
    RsaKeyGenParams
    RsaOaepParams
    RsaOtherPrimesInfo
    RsaPssParams
    RunOptions
    RunPermissionDescriptor
    The permission descriptor for the allow-run and deny-run permissions, which controls access to what sub-processes can be executed by Deno. The option command allows scoping the permission to a specific executable.
    RuntimeError
    The WebAssembly.RuntimeError object is the error type that is thrown whenever WebAssembly specifies a trap.
    Seeker
    An abstract interface which when implemented provides an interface to seek within an open file/resource asynchronously.
    SeekerSync
    An abstract interface which when implemented provides an interface to seek within an open file/resource synchronously.
    ServeHandlerInfo
    Information for a HTTP request.
    ServeInit
    ServeOptions
    Options which can be set when calling {@linkcode Deno.serve}.
    Server
    An instance of the server created using Deno.serve() API.
    ServeTlsOptions
    Additional options which are used when opening a TLS (HTTPS) server.
    SetRawOptions
    SOARecord
    If {@linkcode Deno.resolveDns} is called with "SOA" record type specified, it will return an array of objects with this interface.
    SRVRecord
    If {@linkcode Deno.resolveDns} is called with "SRV" record type specified, it will return an array of objects with this interface.
    StartTlsOptions
    Storage
    This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
    StructuredSerializeOptions
    SubtleCrypto
    This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).
    SymlinkOptions
    Options that can be used with {@linkcode symlink} and {@linkcode symlinkSync}.
    SysPermissionDescriptor
    The permission descriptor for the allow-sys and deny-sys permissions, which controls access to sensitive host system information, which malicious code might attempt to exploit. The option kind allows scoping the permission to a specific piece of information.
    SystemMemoryInfo
    Information returned from a call to {@linkcode Deno.systemMemoryInfo}.
    Table
    The WebAssembly.Table() object is a JavaScript wrapper object — an array-like structure representing a WebAssembly Table, which stores function references. A table created by JavaScript or in WebAssembly code will be accessible and mutable from both JavaScript and WebAssembly.
    TableDescriptor
    The TableDescriptor describes the options you can pass to new WebAssembly.Table().
    TcpConn
    TcpListenOptions
    TestContext
    Context that is passed to a testing function, which can be used to either gain information about the current test, or register additional test steps within the current test.
    TestDefinition
    TestStepDefinition
    TextDecodeOptions
    TextDecoder
    TextDecoderOptions
    TextDecoderStream
    TextEncoder
    TextEncoderEncodeIntoResult
    TextEncoderStream
    TimedOut
    Raised when the underlying operating system reports that an I/O operation has timed out (ETIMEDOUT).
    TlsConn
    TlsHandshakeInfo
    Transformer<I, O>
    TransformStream<I, O>
    TransformStreamDefaultController<O>
    TransformStreamDefaultControllerCallback<O>
    TransformStreamDefaultControllerTransformCallback<I, O>
    UnderlyingByteSource
    UnderlyingSink<W>
    UnderlyingSource<R>
    UnexpectedEof
    Raised when attempting to read bytes from a resource, but the EOF was unexpectedly encountered.
    UnionCommon12
    UnixAddr
    UnixConn
    UpgradeWebSocketOptions
    Options which can be set when performing a {@linkcode Deno.upgradeWebSocket} upgrade of a {@linkcode Request}
    Url
    The URL interface represents an object providing static methods used for creating object URLs.
    URLPattern
    The URLPattern API provides a web platform primitive for matching URLs based on a convenient pattern syntax.
    URLPatternComponentResult
    URLPatternInit
    URLPatternResult
    URLPatternResult is the object returned from URLPattern.exec.
    URLSearchParams
    VoidFunction
    WebAssemblyInstantiatedSource
    The value returned from WebAssembly.instantiate.
    WebSocket
    Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
    WebSocketEventMap
    WebSocketUpgrade
    The object that is returned from a {@linkcode Deno.upgradeWebSocket} request.
    Window
    Worker
    WorkerOptions
    WouldBlock
    Raised when the underlying operating system would need to block to complete but an asynchronous (non-blocking) API is used.
    WritableStream<W>
    This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
    WritableStreamDefaultController
    This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
    WritableStreamDefaultControllerCloseCallback
    WritableStreamDefaultControllerStartCallback
    WritableStreamDefaultControllerWriteCallback<W>
    WritableStreamDefaultWriter<W>
    This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
    WritableStreamErrorCallback
    WriteFileOptions
    Options for writing to a file.
    WritePermissionDescriptor
    The permission descriptor for the allow-write and deny-write permissions, which controls access to writing to resources from the local host. The option path allow scoping the permission to a specific path (and if the path is a directory any sub paths).
    Writer
    An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource asynchronously.
    WriterSync
    An abstract interface which when implemented provides an interface to write bytes from an array buffer to a file/resource synchronously.
    WriteZero
    Raised when expecting to write to a IO buffer resulted in zero bytes being written.

    Extensions

    $ModuleDeno$Typings on $ModuleDeno
    $ModuleWebAssembly$Typings on $ModuleWebAssembly
    AbortController$Typings on AbortController
    AbortSignal$Typings on AbortSignal
    AbortSignalEventMap$Typings on AbortSignalEventMap
    AddEventListenerOptions$Typings on AddEventListenerOptions
    AesCbcParams$Typings on AesCbcParams
    AesCtrParams$Typings on AesCtrParams
    AesDerivedKeyParams$Typings on AesDerivedKeyParams
    AesGcmParams$Typings on AesGcmParams
    AesKeyAlgorithm$Typings on AesKeyAlgorithm
    AesKeyGenParams$Typings on AesKeyGenParams
    Algorithm$Typings on Algorithm
    BenchContext$Typings on BenchContext
    BenchDefinition$Typings on BenchDefinition
    Blob$Typings on Blob
    BlobPropertyBag$Typings on BlobPropertyBag
    Body$Typings on Body
    BroadcastChannel$Typings on BroadcastChannel
    Buffer$Typings on Buffer
    ByteLengthQueuingStrategy$Typings on ByteLengthQueuingStrategy
    CAARecord$Typings on CAARecord
    Cache$Typings on Cache
    CacheQueryOptions$Typings on CacheQueryOptions
    CacheStorage$Typings on CacheStorage
    ChildProcess$Typings on ChildProcess
    CloseEvent$Typings on CloseEvent
    CloseEventInit$Typings on CloseEventInit
    Closer$Typings on Closer
    Command$Typings on Command
    CommandOptions$Typings on CommandOptions
    CommandOutput$Typings on CommandOutput
    CommandStatus$Typings on CommandStatus
    CompressionStream$Typings on CompressionStream
    Conn$Typings on Conn
    ConnectOptions$Typings on ConnectOptions
    ConnectTlsOptions$Typings on ConnectTlsOptions
    Console$Typings on Console
    CountQueuingStrategy$Typings on CountQueuingStrategy
    Crypto$Typings on Crypto
    CryptoKey$Typings on CryptoKey
    CryptoKeyPair$Typings on CryptoKeyPair
    CustomEvent$Typings on CustomEvent<T>
    CustomEventInit$Typings on CustomEventInit<T>
    DecompressionStream$Typings on DecompressionStream
    DenoTest$Typings on DenoTest
    DirEntry$Typings on DirEntry
    DOMException$Typings on DOMException
    DomIterable$Typings on DomIterable<K, V>
    DOMStringList$Typings on DOMStringList
    EcdhKeyDeriveParams$Typings on EcdhKeyDeriveParams
    EcdsaParams$Typings on EcdsaParams
    EcKeyAlgorithm$Typings on EcKeyAlgorithm
    EcKeyGenParams$Typings on EcKeyGenParams
    EcKeyImportParams$Typings on EcKeyImportParams
    Env$Typings on Env
    EnvPermissionDescriptor$Typings on EnvPermissionDescriptor
    ErrorConstructor$Typings on ErrorConstructor
    ErrorEvent$Typings on ErrorEvent
    ErrorEventInit$Typings on ErrorEventInit
    Event$Typings on Event
    EventInit$Typings on EventInit
    EventListener$Typings on EventListener
    EventListenerObject$Typings on EventListenerObject
    EventListenerOptions$Typings on EventListenerOptions
    EventTarget$Typings on EventTarget
    FfiPermissionDescriptor$Typings on FfiPermissionDescriptor
    File$Typings on File
    FileInfo$Typings on FileInfo
    FilePropertyBag$Typings on FilePropertyBag
    FileReader$Typings on FileReader
    FormData$Typings on FormData
    FsEvent$Typings on FsEvent
    FsFile$Typings on FsFile
    FsWatcher$Typings on FsWatcher
    Global$Typings on Global
    GlobalDescriptor$Typings on GlobalDescriptor
    Headers$Typings on Headers
    HkdfParams$Typings on HkdfParams
    HmacImportParams$Typings on HmacImportParams
    HmacKeyAlgorithm$Typings on HmacKeyAlgorithm
    HmacKeyGenParams$Typings on HmacKeyGenParams
    HrtimePermissionDescriptor$Typings on HrtimePermissionDescriptor
    HttpConn$Typings on HttpConn
    IInline1$Typings on IInline1
    IInline10$Typings on IInline10
    IInline11$Typings on IInline11
    IInline12$Typings on IInline12
    IInline13$Typings on IInline13
    IInline14$Typings on IInline14
    IInline15$Typings on IInline15
    IInline2$Typings on IInline2
    IInline3$Typings on IInline3
    IInline38$Typings on IInline38
    IInline4$Typings on IInline4
    IInline40$Typings on IInline40
    IInline41$Typings on IInline41
    IInline42$Typings on IInline42
    IInline43$Typings on IInline43<R, T>
    IInline44$Typings on IInline44
    IInline45$Typings on IInline45
    IInline47$Typings on IInline47
    IInline5$Typings on IInline5
    IInline6$Typings on IInline6
    IInline7$Typings on IInline7
    IInline70$Typings on IInline70
    IInline8$Typings on IInline8
    IInline9$Typings on IInline9
    ImportMeta$Typings on ImportMeta
    InspectOptions$Typings on InspectOptions
    Instance$Typings on Instance
    JsonWebKey$Typings on JsonWebKey
    KeyAlgorithm$Typings on KeyAlgorithm
    Listener$Typings on Listener<T>
    ListenOptions$Typings on ListenOptions
    ListenTlsOptions$Typings on ListenTlsOptions
    Location$Typings on Location
    MakeTempOptions$Typings on MakeTempOptions
    Memory$Typings on Memory
    MemoryDescriptor$Typings on MemoryDescriptor
    MemoryUsage$Typings on MemoryUsage
    MessageChannel$Typings on MessageChannel
    MessageEvent$Typings on MessageEvent<T>
    MessageEventInit$Typings on MessageEventInit<T>
    MessagePort$Typings on MessagePort
    Metrics$Typings on Metrics
    MkdirOptions$Typings on MkdirOptions
    ModuleExportDescriptor$Typings on ModuleExportDescriptor
    ModuleImportDescriptor$Typings on ModuleImportDescriptor
    MXRecord$Typings on MXRecord
    NAPTRRecord$Typings on NAPTRRecord
    NetAddr$Typings on NetAddr
    NetPermissionDescriptor$Typings on NetPermissionDescriptor
    NetworkInterfaceInfo$Typings on NetworkInterfaceInfo
    OpenOptions$Typings on OpenOptions
    OpMetrics$Typings on OpMetrics
    Pbkdf2Params$Typings on Pbkdf2Params
    Performance$Typings on Performance
    PerformanceEntry$Typings on PerformanceEntry
    PerformanceMark$Typings on PerformanceMark
    PerformanceMarkOptions$Typings on PerformanceMarkOptions
    PerformanceMeasure$Typings on PerformanceMeasure
    PerformanceMeasureOptions$Typings on PerformanceMeasureOptions
    PermissionOptionsObject$Typings on PermissionOptionsObject
    Permissions$Typings on Permissions
    PermissionStatus$Typings on PermissionStatus
    PipeOptions$Typings on PipeOptions
    Process$Typings on Process<T>
    ProcessStatusCommon$Typings on ProcessStatusCommon
    ProgressEvent$Typings on ProgressEvent<T>
    ProgressEventInit$Typings on ProgressEventInit
    PromiseRejectionEvent$Typings on PromiseRejectionEvent
    PromiseRejectionEventInit$Typings on PromiseRejectionEventInit
    QueuingStrategy$Typings on QueuingStrategy<T>
    QueuingStrategySizeCallback$Typings on QueuingStrategySizeCallback<T>
    ReadableByteStreamController$Typings on ReadableByteStreamController
    ReadableByteStreamControllerCallback$Typings on ReadableByteStreamControllerCallback
    ReadableStream$Typings on ReadableStream<R>
    ReadableStreamBYOBReadDoneResult$Typings on ReadableStreamBYOBReadDoneResult<V>
    ReadableStreamBYOBReader$Typings on ReadableStreamBYOBReader
    ReadableStreamBYOBReadResultCommon$Typings on ReadableStreamBYOBReadResultCommon<V>
    ReadableStreamBYOBReadValueResult$Typings on ReadableStreamBYOBReadValueResult<V>
    ReadableStreamBYOBRequest$Typings on ReadableStreamBYOBRequest
    ReadableStreamDefaultController$Typings on ReadableStreamDefaultController<R>
    ReadableStreamDefaultControllerCallback$Typings on ReadableStreamDefaultControllerCallback<R>
    ReadableStreamDefaultReadDoneResult$Typings on ReadableStreamDefaultReadDoneResult
    ReadableStreamDefaultReader$Typings on ReadableStreamDefaultReader<R>
    ReadableStreamDefaultReadResultCommon$Typings on ReadableStreamDefaultReadResultCommon
    ReadableStreamDefaultReadValueResult$Typings on ReadableStreamDefaultReadValueResult<T>
    ReadableStreamErrorCallback$Typings on ReadableStreamErrorCallback
    Reader$Typings on Reader
    ReaderSync$Typings on ReaderSync
    ReadFileOptions$Typings on ReadFileOptions
    ReadPermissionDescriptor$Typings on ReadPermissionDescriptor
    RemoveOptions$Typings on RemoveOptions
    Request$Typings on Request
    RequestEvent$Typings on RequestEvent
    RequestInit$Typings on RequestInit
    ResolveDnsOptions$Typings on ResolveDnsOptions
    Response$Typings on Response
    ResponseInit$Typings on ResponseInit
    RsaHashedImportParams$Typings on RsaHashedImportParams
    RsaHashedKeyAlgorithm$Typings on RsaHashedKeyAlgorithm
    RsaHashedKeyGenParams$Typings on RsaHashedKeyGenParams
    RsaKeyAlgorithm$Typings on RsaKeyAlgorithm
    RsaKeyGenParams$Typings on RsaKeyGenParams
    RsaOaepParams$Typings on RsaOaepParams
    RsaOtherPrimesInfo$Typings on RsaOtherPrimesInfo
    RsaPssParams$Typings on RsaPssParams
    RunOptions$Typings on RunOptions
    RunPermissionDescriptor$Typings on RunPermissionDescriptor
    Seeker$Typings on Seeker
    SeekerSync$Typings on SeekerSync
    ServeHandlerInfo$Typings on ServeHandlerInfo
    ServeInit$Typings on ServeInit
    ServeOptions$Typings on ServeOptions
    Server$Typings on Server
    ServeTlsOptions$Typings on ServeTlsOptions
    SetRawOptions$Typings on SetRawOptions
    SOARecord$Typings on SOARecord
    SRVRecord$Typings on SRVRecord
    StartTlsOptions$Typings on StartTlsOptions
    Storage$Typings on Storage
    StructuredSerializeOptions$Typings on StructuredSerializeOptions
    SubtleCrypto$Typings on SubtleCrypto
    SymlinkOptions$Typings on SymlinkOptions
    SysPermissionDescriptor$Typings on SysPermissionDescriptor
    SystemMemoryInfo$Typings on SystemMemoryInfo
    Table$Typings on Table
    TableDescriptor$Typings on TableDescriptor
    TcpConn$Typings on TcpConn
    TestContext$Typings on TestContext
    TestDefinition$Typings on TestDefinition
    TestStepDefinition$Typings on TestStepDefinition
    TextDecodeOptions$Typings on TextDecodeOptions
    TextDecoder$Typings on TextDecoder
    TextDecoderOptions$Typings on TextDecoderOptions
    TextDecoderStream$Typings on TextDecoderStream
    TextEncoder$Typings on TextEncoder
    TextEncoderEncodeIntoResult$Typings on TextEncoderEncodeIntoResult
    TextEncoderStream$Typings on TextEncoderStream
    TlsConn$Typings on TlsConn
    Transformer$Typings on Transformer<I, O>
    TransformStream$Typings on TransformStream<I, O>
    TransformStreamDefaultController$Typings on TransformStreamDefaultController<O>
    TransformStreamDefaultControllerCallback$Typings on TransformStreamDefaultControllerCallback<O>
    TransformStreamDefaultControllerTransformCallback$Typings on TransformStreamDefaultControllerTransformCallback<I, O>
    UnderlyingByteSource$Typings on UnderlyingByteSource
    UnderlyingSink$Typings on UnderlyingSink<W>
    UnderlyingSource$Typings on UnderlyingSource<R>
    UnixAddr$Typings on UnixAddr
    UpgradeWebSocketOptions$Typings on UpgradeWebSocketOptions
    Url$Typings on Url
    URLPattern$Typings on URLPattern
    URLPatternComponentResult$Typings on URLPatternComponentResult
    URLPatternInit$Typings on URLPatternInit
    URLPatternResult$Typings on URLPatternResult
    URLSearchParams$Typings on URLSearchParams
    VoidFunction$Typings on VoidFunction
    WebAssemblyInstantiatedSource$Typings on WebAssemblyInstantiatedSource
    WebSocket$Typings on WebSocket
    WebSocketEventMap$Typings on WebSocketEventMap
    WebSocketUpgrade$Typings on WebSocketUpgrade
    Window$Typings on Window
    Worker$Typings on Worker
    WorkerOptions$Typings on WorkerOptions
    WritableStream$Typings on WritableStream<W>
    WritableStreamDefaultController$Typings on WritableStreamDefaultController
    WritableStreamDefaultControllerCloseCallback$Typings on WritableStreamDefaultControllerCloseCallback
    WritableStreamDefaultControllerStartCallback$Typings on WritableStreamDefaultControllerStartCallback
    WritableStreamDefaultControllerWriteCallback$Typings on WritableStreamDefaultControllerWriteCallback<W>
    WritableStreamDefaultWriter$Typings on WritableStreamDefaultWriter<W>
    WritableStreamErrorCallback$Typings on WritableStreamErrorCallback
    WriteFileOptions$Typings on WriteFileOptions
    WritePermissionDescriptor$Typings on WritePermissionDescriptor
    Writer$Typings on Writer
    WriterSync$Typings on WriterSync

    Constants

    version → const String

    Properties

    abortController → dynamic
    A controller object that allows you to abort one or more DOM requests as and when desired.
    no setter
    abortSignal → dynamic
    A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
    no setter
    addEventListener → ({void Function<K$ extends Event>(WindowEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
    Overload accessor: $1, $2
    no setter
    blob → dynamic
    A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
    no setter
    broadcastChannel → dynamic
    no setter
    byteLengthQueuingStrategy → dynamic
    no setter
    cache → dynamic
    no setter
    caches CacheStorage
    no setter
    cacheStorage → dynamic
    no setter
    closed bool
    no setter
    closeEvent → dynamic
    no setter
    compressionStream → dynamic
    An API for compressing a stream of data.
    no setter
    console Console
    no setter
    countQueuingStrategy → dynamic
    This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.
    no setter
    crypto → dynamic
    no setter
    cryptoKey → dynamic
    The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.
    no setter
    cryptoKeyPair → dynamic
    The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.
    no setter
    customEvent → dynamic
    no setter
    decompressionStream → dynamic
    An API for decompressing a stream of data.
    no setter
    deno $ModuleDeno
    no setter
    domException → dynamic
    no setter
    errorEvent → dynamic
    no setter
    event → dynamic
    An event which takes place in the DOM.
    no setter
    eventTarget → dynamic
    EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them.
    no setter
    file → dynamic
    Provides information about files and allows JavaScript in a web page to access their content.
    no setter
    fileReader → dynamic
    Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
    no setter
    formData → dynamic
    Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
    no setter
    headers → dynamic
    This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples). In all methods of this interface, header names are matched by case-insensitive byte sequence.
    no setter
    localStorage Storage
    no setter
    location Location
    no setter
    messageChannel → dynamic
    The MessageChannel interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.
    no setter
    messageEvent → dynamic
    no setter
    messagePort → dynamic
    The MessagePort interface of the Channel Messaging API represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
    no setter
    name String
    no setter
    no setter
    onbeforeunload → dynamic Function(Event)?
    no setter
    onerror → dynamic Function(ErrorEvent)?
    no setter
    onload → dynamic Function(Event)?
    no setter
    onunhandledrejection → dynamic Function(PromiseRejectionEvent)?
    no setter
    onunload → dynamic Function(Event)?
    no setter
    performance Performance
    no setter
    performanceEntry → dynamic
    Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the .mark() method) at an explicit point in an application.
    no setter
    performanceMark → dynamic
    PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the performance timeline.
    no setter
    performanceMeasure → dynamic
    PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the performance timeline.
    no setter
    progressEvent → dynamic
    Events measuring progress of an underlying process, like an HTTP request (for an XMLHttpRequest, or the loading of the underlying resource of an ,
    no setter
    promiseRejectionEvent → dynamic
    no setter
    readableByteStreamController → dynamic
    no setter
    readableStream → dynamic
    This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
    no setter
    readableStreamBYOBReader → dynamic
    no setter
    readableStreamBYOBRequest → dynamic
    no setter
    readableStreamDefaultController → dynamic
    no setter
    readableStreamDefaultReader → dynamic
    no setter
    removeEventListener → ({void Function<K$ extends Event>(WindowEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
    Overload accessor: $1, $2
    no setter
    request → dynamic
    This Fetch API interface represents a resource request.
    no setter
    response → dynamic
    This Fetch API interface represents the response to a request.
    no setter
    self → _Intersection48
    no setter
    sessionStorage Storage
    no setter
    storage → dynamic
    This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
    no setter
    subtleCrypto → dynamic
    This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto).
    no setter
    textDecoder → dynamic
    no setter
    textDecoderStream → dynamic
    no setter
    textEncoder → dynamic
    no setter
    textEncoderStream → dynamic
    no setter
    transformStream → dynamic
    no setter
    transformStreamDefaultController → dynamic
    no setter
    url → dynamic
    The URL interface represents an object providing static methods used for creating object URLs.
    no setter
    urlPattern → dynamic
    The URLPattern API provides a web platform primitive for matching URLs based on a convenient pattern syntax.
    no setter
    urlSearchParams → dynamic
    no setter
    webAssembly $ModuleWebAssembly
    no setter
    webSocket → dynamic
    Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.
    no setter
    window → _Intersection47
    no setter
    worker → dynamic
    no setter
    writableStream → dynamic
    This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.
    no setter
    writableStreamDefaultController → dynamic
    This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.
    no setter
    writableStreamDefaultWriter → dynamic
    This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
    no setter

    Functions

    alert([String? message]) → void
    Shows the given message and waits for the enter key pressed.
    atob(String s) String
    Decodes a string of data which has been encoded using base-64 encoding.
    btoa(String s) String
    Creates a base-64 ASCII encoded string from the input string.
    clearInterval([num? id]) → void
    Cancels a timed, repeating action which was previously started by a call to setInterval()
    clearTimeout([num? id]) → void
    Cancels a scheduled action initiated by setTimeout()
    confirm([String? message]) bool
    Shows the given message and waits for the answer. Returns the user's answer as boolean.
    dispatchEvent(Event event) bool
    Dispatches an event in the global scope, synchronously invoking any registered event listeners for this event in the appropriate order. Returns false if event is cancelable and at least one of the event handlers which handled this event called Event.preventDefault(). Otherwise it returns true.
    fetch(Object input, [RequestInit? init]) Future<Response>
    Fetch a resource from the network. It returns a Promise that resolves to the Response to that Request, whether it is successful or not.
    prompt([String? message, String? defaultValue]) String?
    Shows the given message and waits for the user's input. Returns the user's input as string.
    queueMicrotask(VoidFunction func) → void
    A microtask is a short function which is executed after the function or module which created it exits and only if the JavaScript execution stack is empty, but before returning control to the event loop being used to drive the script's execution environment. This event loop may be either the main event loop or the event loop driving a web worker.
    reportError([dynamic error]) → void
    Dispatch an uncaught exception. Similar to a synchronous version of:
    setInterval(void cb([Iterable?]), [num? delay, Iterable? args]) num
    Repeatedly calls a function , with a fixed time delay between each call.
    setTimeout(void cb([Iterable?]), [num? delay, Iterable? args]) num
    Sets a timer which executes a function once after the delay (in milliseconds) elapses. Returns an id which may be used to cancel the timeout.
    structuredClone([dynamic value, StructuredSerializeOptions? options]) → dynamic
    Creates a deep copy of a given value using the structured clone algorithm.

    Typedefs

    Addr = Object
    AlgorithmIdentifier = Object
    BinaryType = BinaryTypeOptions
    BlobPart = Object
    BodyInit = Object
    BufferSource = Object
    EventListenerOrEventListenerObject = Object
    Exports = dynamic
    ExportValue = Object
    FormDataEntryValue = Object
    FsEventFlag = String
    HashAlgorithmIdentifier = Object
    HeadersInit = Object
    ImportExportKind = ImportExportKindOptions
    Imports = dynamic
    ImportValue = Object
    KeyFormat = KeyFormatOptions
    KeyType = KeyTypeOptions
    KeyUsage = KeyUsageOptions
    ModuleImports = dynamic
    NamedCurve = String
    PerformanceEntryList = List<PerformanceEntry>
    PermissionDescriptor = Object
    PermissionName = PermissionNameOptions
    PermissionOptions = Object
    PermissionState = PermissionStateOptions
    PostMessageOptions = StructuredSerializeOptions
    ProcessStatus = ProcessStatusCommon
    ReadableStreamBYOBReadResult<V extends ArrayBufferView> = ReadableStreamBYOBReadResultCommon<ArrayBufferView>
    ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadResultCommon
    RecordType = RecordTypeOptions
    ReferrerPolicy = ReferrerPolicyOptions
    RequestCache = RequestCacheOptions
    RequestCredentials = RequestCredentialsOptions
    RequestDestination = RequestDestinationOptions
    RequestInfo = Object
    RequestMode = RequestModeOptions
    RequestRedirect = RequestRedirectOptions
    ResponseType = ResponseTypeOptions
    ServeHandler = Object Function(Request, ServeHandlerInfo)
    Signal = SignalOptions
    TableKind = String
    TlsListener = Listener<TlsConn>
    Transferable = Object
    URLPatternInput = Object
    ValueType = ValueTypeOptions