Skip to main content
f
addEventListener

Registers an event listener in the global scope, which will be called synchronously whenever the event type is dispatched.

    f
    alert

    Shows the given message and waits for the enter key pressed.

      f
      atob

      Decodes a string of data which has been encoded using base-64 encoding.

        f
        btoa

        Creates a base-64 ASCII encoded string from the input string.

          v
          caches
          No documentation available
            f
            clearInterval

            Cancels a timed, repeating action which was previously started by a call to setInterval()

              f
              clearTimeout

              Cancels a scheduled action initiated by setTimeout()

                f
                close

                Exits the current Deno process.

                  v
                  closed
                  No documentation available
                    f
                    confirm

                    Shows the given message and waits for the answer. Returns the user's answer as boolean.

                      v
                      console
                      No documentation available
                        f
                        createImageBitmap

                        Create a new ImageBitmap object from a given source.

                          v
                          crypto
                          No documentation available
                            f
                            dispatchEvent

                            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.

                              f
                              fetch

                              Fetch a resource from the network. It returns a Promise that resolves to the Response to that Request, whether it is successful or not.

                                c
                                GPUBindGroup
                                No documentation available
                                c
                                GPUBindGroupLayout
                                No documentation available
                                c
                                GPUColorWrite
                                No documentation available
                                c
                                GPUCommandBuffer
                                No documentation available
                                c
                                GPUError
                                No documentation available
                                c
                                GPUInternalError
                                No documentation available
                                  c
                                  GPUMapMode
                                  No documentation available
                                  c
                                  GPUOutOfMemoryError
                                  No documentation available
                                    c
                                    GPUPipelineError
                                    No documentation available
                                    c
                                    GPUPipelineLayout
                                    No documentation available
                                    c
                                    GPUQuerySet
                                    No documentation available
                                    c
                                    GPURenderBundle
                                    No documentation available
                                    c
                                    c
                                    GPUSampler
                                    No documentation available
                                    c
                                    GPUShaderModule
                                    No documentation available
                                    c
                                    GPUShaderStage
                                    No documentation available
                                    c
                                    GPUTextureView
                                    No documentation available
                                    c
                                    GPUUncapturedErrorEvent
                                    No documentation available
                                    c
                                    GPUValidationError
                                    No documentation available
                                      N
                                      Intl
                                      No documentation available
                                        I
                                        Intl.DateTimeFormatRangePart
                                        No documentation available
                                        T
                                        Intl.Formattable
                                        No documentation available
                                          v
                                          localStorage

                                          Deno's localStorage API provides a way to store key-value pairs in a web-like environment, similar to the Web Storage API found in browsers. It allows developers to persist data across sessions in a Deno application. This API is particularly useful for applications that require a simple and effective way to store data locally.

                                            v
                                            location
                                            No documentation available
                                              v
                                              name
                                              No documentation available
                                                v
                                                navigator
                                                No documentation available
                                                  v
                                                  onbeforeunload
                                                  No documentation available
                                                    v
                                                    onerror
                                                    No documentation available
                                                      v
                                                      onload
                                                      No documentation available
                                                        v
                                                        onunhandledrejection
                                                        No documentation available
                                                          v
                                                          onunload
                                                          No documentation available
                                                            v
                                                            performance
                                                            No documentation available
                                                              f
                                                              prompt

                                                              Shows the given message and waits for the user's input. Returns the user's input as string.

                                                                f
                                                                queueMicrotask

                                                                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.

                                                                  f
                                                                  removeEventListener

                                                                  Remove a previously registered event listener from the global scope

                                                                    f
                                                                    reportError

                                                                    Dispatch an uncaught exception. Similar to a synchronous version of:

                                                                      v
                                                                      self
                                                                      No documentation available
                                                                        v
                                                                        sessionStorage

                                                                        Deno's sessionStorage API operates similarly to the localStorage API, but it is intended for storing data temporarily for the duration of a session. Data stored in sessionStorage is cleared when the application session or process ends. This makes it suitable for temporary data that you do not need to persist across user sessions.

                                                                          f
                                                                          setInterval

                                                                          Repeatedly calls a function , with a fixed time delay between each call.

                                                                            f
                                                                            setTimeout

                                                                            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.

                                                                              f
                                                                              structuredClone

                                                                              Creates a deep copy of a given value using the structured clone algorithm.

                                                                                T
                                                                                Temporal.ArithmeticOptions

                                                                                Options for arithmetic operations like add() and subtract()

                                                                                T
                                                                                Temporal.AssignmentOptions

                                                                                Options for assigning fields using with() or entire objects with from().

                                                                                T
                                                                                Temporal.CalendarLike

                                                                                Any of these types can be passed to Temporal methods instead of a calendar ID.

                                                                                  T
                                                                                  Temporal.CalendarTypeToStringOptions
                                                                                  No documentation available
                                                                                    T
                                                                                    Temporal.ComparisonResult
                                                                                    No documentation available
                                                                                      T
                                                                                      Temporal.DateTimeUnit
                                                                                      No documentation available
                                                                                        T
                                                                                        Temporal.DateUnit
                                                                                        No documentation available
                                                                                          I
                                                                                          Temporal.DifferenceOptions

                                                                                          Options to control the result of until() and since() methods in Temporal types.

                                                                                          I
                                                                                          Temporal.DurationArithmeticOptions

                                                                                          Options to control behavior of Duration.compare()

                                                                                          T
                                                                                          Temporal.DurationOptions

                                                                                          Options for assigning fields using Duration.prototype.with() or entire objects with Duration.from(), and for arithmetic with Duration.prototype.add() and Duration.prototype.subtract().

                                                                                          T
                                                                                          Temporal.DurationRoundTo

                                                                                          The round method of the Temporal.Duration accepts one required parameter. If a string is provided, the resulting Temporal.Duration object will be rounded to that unit. If an object is provided, the smallestUnit and/or largestUnit property is required, while other properties are optional. A string parameter is treated the same as an object whose smallestUnit property value is that string.

                                                                                            T
                                                                                            Temporal.DurationTotalOf

                                                                                            Options to control behavior of Duration.prototype.total()

                                                                                              c
                                                                                              Temporal.Instant

                                                                                              A Temporal.Instant is an exact point in time, with a precision in nanoseconds. No time zone or calendar information is present. Therefore, Temporal.Instant has no concept of days, months, or even hours.

                                                                                              T
                                                                                              Temporal.InstantToStringOptions
                                                                                              No documentation available
                                                                                                T
                                                                                                Temporal.LargestUnit
                                                                                                No documentation available
                                                                                                  v
                                                                                                  Temporal.Now

                                                                                                  The Temporal.Now object has several methods which give information about the current date, time, and time zone.

                                                                                                  c
                                                                                                  Temporal.PlainDate

                                                                                                  A Temporal.PlainDate represents a calendar date. "Calendar date" refers to the concept of a date as expressed in everyday usage, independent of any time zone. For example, it could be used to represent an event on a calendar which happens during the whole day no matter which time zone it's happening in.

                                                                                                  c
                                                                                                  Temporal.PlainDateTime

                                                                                                  A Temporal.PlainDateTime represents a calendar date and wall-clock time, with a precision in nanoseconds, and without any time zone. Of the Temporal classes carrying human-readable time information, it is the most general and complete one. Temporal.PlainDate, Temporal.PlainTime, Temporal.PlainYearMonth, and Temporal.PlainMonthDay all carry less information and should be used when complete information is not required.

                                                                                                  c
                                                                                                  Temporal.PlainMonthDay

                                                                                                  A Temporal.PlainMonthDay represents a particular day on the calendar, but without a year. For example, it could be used to represent a yearly recurring event, like "Bastille Day is on the 14th of July."

                                                                                                  c
                                                                                                  Temporal.PlainTime

                                                                                                  A Temporal.PlainTime represents a wall-clock time, with a precision in nanoseconds, and without any time zone. "Wall-clock time" refers to the concept of a time as expressed in everyday usage — the time that you read off the clock on the wall. For example, it could be used to represent an event that happens daily at a certain time, no matter what time zone.

                                                                                                  c
                                                                                                  Temporal.PlainYearMonth

                                                                                                  A Temporal.PlainYearMonth represents a particular month on the calendar. For example, it could be used to represent a particular instance of a monthly recurring event, like "the June 2019 meeting".

                                                                                                  T
                                                                                                  Temporal.PluralUnit

                                                                                                  When the name of a unit is provided to a Temporal API as a string, it is usually singular, e.g. 'day' or 'hour'. But plural unit names like 'days' or 'hours' are also accepted.

                                                                                                    T
                                                                                                    Temporal.RoundingMode
                                                                                                    No documentation available
                                                                                                      T
                                                                                                      Temporal.RoundTo

                                                                                                      round methods take one required parameter. If a string is provided, the resulting Temporal.Duration object will be rounded to that unit. If an object is provided, its smallestUnit property is required while other properties are optional. A string is treated the same as an object whose smallestUnit property value is that string.

                                                                                                        T
                                                                                                        Temporal.ShowCalendarOption
                                                                                                        No documentation available
                                                                                                        T
                                                                                                        Temporal.SmallestUnit
                                                                                                        No documentation available
                                                                                                          T
                                                                                                          Temporal.TimeUnit
                                                                                                          No documentation available
                                                                                                            T
                                                                                                            Temporal.TimeZoneLike

                                                                                                            Any of these types can be passed to Temporal methods instead of a time zone ID.

                                                                                                              T
                                                                                                              Temporal.ToInstantOptions

                                                                                                              Options for conversions of Temporal.PlainDateTime to Temporal.Instant

                                                                                                              T
                                                                                                              Temporal.ToStringPrecisionOptions

                                                                                                              Options for outputting precision in toString() on types with seconds

                                                                                                              T
                                                                                                              Temporal.TotalUnit
                                                                                                              No documentation available
                                                                                                                T
                                                                                                                Temporal.TransitionDirection

                                                                                                                Options to control behaviour of ZonedDateTime.prototype.getTimeZoneTransition()

                                                                                                                  T
                                                                                                                  Temporal.ZonedDateTimeAssignmentOptions
                                                                                                                  No documentation available
                                                                                                                    T
                                                                                                                    Temporal.ZonedDateTimeToStringOptions
                                                                                                                    No documentation available
                                                                                                                      N
                                                                                                                      WebAssembly
                                                                                                                      No documentation available
                                                                                                                        f
                                                                                                                        WebAssembly.compile

                                                                                                                        The WebAssembly.compile() function compiles WebAssembly binary code into a WebAssembly.Module object. This function is useful if it is necessary to compile a module before it can be instantiated (otherwise, the WebAssembly.instantiate() function should be used).

                                                                                                                          c
                                                                                                                          WebAssembly.CompileError

                                                                                                                          The WebAssembly.CompileError object indicates an error during WebAssembly decoding or validation.

                                                                                                                            f
                                                                                                                            WebAssembly.compileStreaming

                                                                                                                            The WebAssembly.compileStreaming() function compiles a WebAssembly.Module directly from a streamed underlying source. This function is useful if it is necessary to a compile a module before it can be instantiated (otherwise, the WebAssembly.instantiateStreaming() function should be used).

                                                                                                                              T
                                                                                                                              WebAssembly.Exports
                                                                                                                              No documentation available
                                                                                                                                T
                                                                                                                                WebAssembly.ExportValue
                                                                                                                                No documentation available
                                                                                                                                  c
                                                                                                                                  WebAssembly.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.

                                                                                                                                  I
                                                                                                                                  WebAssembly.GlobalDescriptor

                                                                                                                                  The GlobalDescriptor describes the options you can pass to new WebAssembly.Global().

                                                                                                                                  T
                                                                                                                                  WebAssembly.ImportExportKind
                                                                                                                                  No documentation available
                                                                                                                                    T
                                                                                                                                    WebAssembly.Imports
                                                                                                                                    No documentation available
                                                                                                                                      T
                                                                                                                                      WebAssembly.ImportValue
                                                                                                                                      No documentation available
                                                                                                                                        c
                                                                                                                                        WebAssembly.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.

                                                                                                                                        f
                                                                                                                                        WebAssembly.instantiate

                                                                                                                                        The WebAssembly.instantiate() function allows you to compile and instantiate WebAssembly code.

                                                                                                                                          f
                                                                                                                                          WebAssembly.instantiateStreaming

                                                                                                                                          The WebAssembly.instantiateStreaming() function compiles and instantiates a WebAssembly module directly from a streamed underlying source. This is the most efficient, optimized way to load wasm code.

                                                                                                                                            c
                                                                                                                                            WebAssembly.LinkError

                                                                                                                                            The WebAssembly.LinkError object indicates an error during module instantiation (besides traps from the start function).

                                                                                                                                              c
                                                                                                                                              WebAssembly.Memory

                                                                                                                                              The WebAssembly.Memory object is a resizable ArrayBuffer or SharedArrayBuffer that holds the raw bytes of memory accessed by a WebAssembly Instance.

                                                                                                                                              I
                                                                                                                                              WebAssembly.MemoryDescriptor

                                                                                                                                              The MemoryDescriptor describes the options you can pass to new WebAssembly.Memory().

                                                                                                                                              c
                                                                                                                                              WebAssembly.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.

                                                                                                                                              I
                                                                                                                                              WebAssembly.ModuleExportDescriptor

                                                                                                                                              A ModuleExportDescriptor is the description of a declared export in a WebAssembly.Module.

                                                                                                                                              I
                                                                                                                                              WebAssembly.ModuleImportDescriptor

                                                                                                                                              A ModuleImportDescriptor is the description of a declared import in a WebAssembly.Module.

                                                                                                                                              T
                                                                                                                                              WebAssembly.ModuleImports
                                                                                                                                              No documentation available
                                                                                                                                                c
                                                                                                                                                WebAssembly.RuntimeError

                                                                                                                                                The WebAssembly.RuntimeError object is the error type that is thrown whenever WebAssembly specifies a trap.

                                                                                                                                                  c
                                                                                                                                                  WebAssembly.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.

                                                                                                                                                  I
                                                                                                                                                  WebAssembly.TableDescriptor

                                                                                                                                                  The TableDescriptor describes the options you can pass to new WebAssembly.Table().

                                                                                                                                                  T
                                                                                                                                                  WebAssembly.TableKind
                                                                                                                                                  No documentation available
                                                                                                                                                    f
                                                                                                                                                    WebAssembly.validate

                                                                                                                                                    The WebAssembly.validate() function validates a given typed array of WebAssembly binary code, returning whether the bytes form a valid wasm module (true) or not (false).

                                                                                                                                                      T
                                                                                                                                                      WebAssembly.ValueType
                                                                                                                                                      No documentation available
                                                                                                                                                        I
                                                                                                                                                        WebAssembly.WebAssemblyInstantiatedSource

                                                                                                                                                        The value returned from WebAssembly.instantiate.

                                                                                                                                                        v
                                                                                                                                                        window
                                                                                                                                                        No documentation available
                                                                                                                                                          Back to top