Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Namespaces

Deno

§Classes

Deno.Child
Deno.HttpClient

UNSTABLE: New API, yet to be vetted. A custom HttpClient for use with fetch.

Deno.UnsafeCallback

UNSTABLE: Unsafe and new API, beware!

Deno.UnsafeFnPointer

UNSTABLE: Unsafe and new API, beware!

Deno.UnsafePointer

UNSTABLE: Unsafe and new API, beware!

Deno.UnsafePointerView

UNSTABLE: Unsafe and new API, beware!

WebSocketStream

§Enums

Deno.DiagnosticCategory

The log category for a diagnostic message.

§Functions

Deno.bench

Register a bench which will be run when deno bench is used on the command line and the containing module looks like a bench module. fn can be async if required.

import {assert, fail, assertEquals} from "https://deno.land/std/testing/asserts.ts";
Deno.connect

UNSTABLE: The unix socket transport is unstable as a new API yet to be vetted. The TCP transport is considered stable.

Deno.connectTls

UNSTABLE New API, yet to be vetted.

Deno.consoleSize

UNSTABLE: New API, yet to be vetted.

Deno.createHttpClient

UNSTABLE: New API, yet to be vetted. Create a custom HttpClient for to use with fetch.

Deno.dlopen

UNSTABLE: Unsafe and new API, beware!

Deno.flock

UNSTABLE: New API should be tested first.

Deno.flockSync

UNSTABLE: New API should be tested first.

Deno.funlock

UNSTABLE: New API should be tested first.

Deno.funlockSync

UNSTABLE: New API should be tested first.

Deno.futime

UNSTABLE: needs investigation into high precision time.

Deno.futimeSync

UNSTABLE: needs investigation into high precision time.

Deno.getGid

Unstable new API. yet to be vetted.

Deno.getUid

Unstable new API. yet to be vetted.

Deno.hostname

UNSTABLE: New API, yet to be vetted. Additional consideration is still necessary around the permissions required.

Deno.listen

UNSTABLE: new API, yet to be vetted.

Deno.listenDatagram

UNSTABLE: new API, yet to be vetted

Deno.loadavg

Unstable There are questions around which permission this needs. And maybe should be renamed (loadAverage?)

Deno.networkInterfaces

Unstable new API. yet to be vetted.

Deno.osRelease

Unstable new API. yet to be vetted. Under consideration to possibly move to Deno.build or Deno.versions and if it should depend sys-info, which may not be desireable.

Deno.refTimer

UNSTABLE: new API, yet to be vetted.

Deno.run
Deno.setRaw

UNSTABLE: new API, yet to be vetted

Deno.spawn

Executes a subprocess, waiting for it to finish and collecting all of its output. Will throw an error if stdin: "piped" is passed.

Deno.spawnChild

Spawns a child process.

Deno.spawnSync

Synchronously executes a subprocess, waiting for it to finish and collecting all of its output. Will throw an error if stdin: "piped" is passed.

Deno.systemMemoryInfo

Unstable new API. yet to be vetted.

Deno.umask

UNSTABLE: New API, yet to be vetted. This API is under consideration to determine if permissions are required to call it.

Deno.unrefTimer

UNSTABLE: new API, yet to be vetted.

Deno.upgradeHttp

UNSTABLE: new API, yet to be vetter.

Deno.utime

UNSTABLE: needs investigation into high precision time.

Deno.utimeSync

UNSTABLE: needs investigation into high precision time.

fetch

§Interfaces

Deno.BasicAuth
Deno.BenchDefinition
Deno.ChildStatus
Deno.ConnectTlsOptions
Deno.CreateHttpClientOptions

UNSTABLE: New API, yet to be vetted. The options used when creating a [HttpClient].

Deno.DatagramConn

UNSTABLE: new API, yet to be vetted.

Deno.Diagnostic
Deno.DiagnosticMessageChain
Deno.DynamicLibrary

A dynamic library resource

Deno.ForeignFunction

A foreign function as defined by its parameter and result types

Deno.ForeignLibraryInterface

A foreign library interface descriptor

Deno.ForeignStatic
Deno.Listener
Deno.ListenTlsOptions
Deno.NetworkInterfaceInfo

The information of the network interface

Deno.Proxy
Deno.SpawnOptions
Deno.SpawnOutput
Deno.StartTlsOptions
Deno.SystemMemoryInfo
Deno.TlsConn
Deno.TlsHandshakeInfo
Deno.UnixConnectOptions
Deno.UnixListenOptions
Deno.UnsafeCallbackDefinition
WebSocketCloseInfo
WebSocketConnection
WebSocketStreamOptions
WorkerOptions

§Type Aliases

Deno.NativeResultType
Deno.NativeType

All possible types for interfacing with foreign functions

Deno.PointerValue

Pointer type depends on the architecture and actual pointer value.

Deno.SetRawOptions