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