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!

§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.

§Interfaces

Deno.BasicAuth
Deno.BenchDefinition
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

§Type Aliases

Deno.ChildStatus
Deno.ConditionalAsync
Deno.FromForeignFunction
Deno.FromNativeParameterTypes
Deno.FromNativeResultType

Type conversion for foregin symbol return types

Deno.FromNativeType

Type conversion for foreign symbol return types and unsafe callback parameters

Deno.NativeBigIntType

All BigInt number type sfor interfacing with foreign functions

Deno.NativeFunctionType
Deno.NativeNumberType

All plain number types for interfacing with foreign functions

Deno.NativePointerType
Deno.NativeResultType
Deno.NativeType

All possible types for interfacing with foreign functions

Deno.NativeVoidType
Deno.SetRawOptions
Deno.StaticForeignLibraryInterface

Infers a foreign library interface

Deno.StaticForeignSymbol

Infers a foreign symbol

Deno.StaticForeignSymbolReturnType
Deno.ToNativeParameterTypes
Deno.ToNativeResultType

Type conversion for unsafe callback return types

Deno.ToNativeType

Type conversion for foreign symbol parameters and unsafe callback return types

Deno.TypedArray
Deno.UnsafeCallbackFunction