Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/lib.deno.unstable.d.ts>Deno

A modern runtime for JavaScript and TypeScript.
Go to Latest
namespace Deno
import { Deno } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.unstable.d.ts";

Enums

The log category for a diagnostic message.

UNSTABLE: Maybe remove ShutdownMode entirely.

Variables

UNSTABLE: maybe move to navigator.permissions to match web API. It could look like navigator.permissions.query({ name: Deno.symbols.read }).

UNSTABLE: make platform independent.

UNSTABLE: new API, yet to be vetted.

Functions

UNSTABLE: new API, yet to be vetted.

UNSTABLE: new API, yet to be vetted.

UNSTABLE: new API, yet to be vetted.

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

UNSTABLE: Currently under evaluation to decide if method name dir and parameter type alias name DirKind should be renamed.

UNSTABLE: new API, yet to be vetted.

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

UNSTABLE: The signo argument may change to require the Deno.Signal enum.

Creates newpath as a hard link to oldpath.

Synchronously creates newpath as a hard link to oldpath.

UNSTABLE: new API, yet to be vetted.

UNSTABLE: new API

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

UNSTABLE: new API, yet to be vetted.

Returns the release version of the Operating System.

UNSTABLE: new API, yet to be vetted

UNSTABLE: Both the how parameter and ShutdownMode enum are under consideration for removal.

UNSTABLE: new API, yet to be vetted.

UNSTABLE: new API, yet to be vetted.

UNSTABLE: type argument may be changed to "dir" | "file"

UNSTABLE: type argument type may be changed to "dir" | "file".

UNSTABLE: new API, yet to be vetted.

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

UNSTABLE: needs investigation into high precision time.

UNSTABLE: needs investigation into high precision time.

Type Aliases

UNSTABLE

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

The name of a "powerful feature" which needs permission.

The current status of the permission.