Registers the given function as a listener of the given signal event.
Change the current working directory to the specified path.
Return a string representing the current working directory.
Returns the path to the current deno executable.
Exit the Deno process with optional exit code.
Returns the group id of the process on POSIX platforms. Returns null on windows.
Get the hostname
of the machine the Deno process is running on.
Returns an array containing the 1, 5, and 15 minute load averages. Theload 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 thereis no load. On Windows, the three values are always the same and representthe current load, not the 1, 5 and 15 minute load averages.
Returns an object describing the memory usage of the Deno process and theV8 subsystem measured in bytes.
Returns the release version of the Operating System.
Returns the Operating System uptime in number of seconds.
Make the timer of the given id
block the event loop from finishing.
Removes the given signal listener that has been registered withDeno.addSignalListener
.
Displays the total amount of free and used physical and swap memory in thesystem, as well as the buffers and caches used by the kernel.
Returns the user id of the process on POSIX platforms. Returns null on Windows.
Make the timer of the given id
not block the event loop from finishing.
Receive metrics from the privileged side of Deno. This is primarily usedin the development of Deno. Ops, also called bindings, are thego-between between Deno JavaScript sandbox and the rest of Deno.
Returns a map of open resource IDs (rid) along with their stringrepresentations. This is an internal API and as such resourcerepresentation has unknown
type; that means it can change any time andshould not be depended upon.
An interface containing methods to interact with the process environmentvariables.
Information returned from a call to Deno.systemMemoryInfo
.
A map of open resources that Deno is tracking. The key is the resource ID(rid) and the value is its representation.
Operating signals which can be listened for or sent to sub-processes. Whatsignals and what their standard behaviors are OS dependent.
Returns the script arguments to the program.
Information related to the build of the current Deno runtime.
An interface containing methods to interact with the process environmentvariables.
The exit code for the Deno process.
The URL of the entrypoint module entered from the command-line. Itrequires read permission to the CWD.
Reflects the NO_COLOR
environment variable at program start.
The current process ID of this instance of the Deno CLI.
The process ID of parent process of this instance of the Deno CLI.
Version information related to the current Deno CLI runtime environment.