Runtime — Ende namespace
System-related functionality, process management, and observability.
Eg Ende.mainModule, Ende.exit, Ende.cwd
Ende.addSignalListener— Registers the given function as a listener of the given signal event.Ende.args— Returns the script arguments to the program.Ende.build— Information related to the build of the current Ende runtime.Ende.chdir— Change the current working directory to the specified path.Ende.cwd— Return a string representing the current working directory.Ende.env— An interface containing methods to interact with the process environment variables.Ende.Env— An interface containing methods to interact with the process environment variables.Ende.execPath— Returns the path to the current ende executable.Ende.exit— Exit the Ende process with optional exit code.Ende.exitCode— The exit code for the Ende process.Ende.gid— Returns the group id of the process on POSIX platforms. Returns null on windows.Ende.hostname— Get the `hostname` of the machine the Ende process is running on.Ende.loadavg— 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.Ende.mainModule— The URL of the entrypoint module entered from the command-line. It requires read permission to the CWD.Ende.memoryUsage— Returns an object describing the memory usage of the Ende process and the V8 subsystem measured in bytes.Ende.MemoryUsageEnde.noColor— Reflects the `NO_COLOR` environment variable at program start.Ende.osRelease— Returns the release version of the Operating System.Ende.osUptime— Returns the Operating System uptime in number of seconds.Ende.pid— The current process ID of this instance of the Ende CLI.Ende.ppid— The process ID of parent process of this instance of the Ende CLI.Ende.refTimer— Make the timer of the given `id` block the event loop from finishing.Ende.removeSignalListener— Removes the given signal listener that has been registered with Ende.addSignalListener.Ende.Signal— Operating signals which can be listened for or sent to sub-processes. What signals and what their standard behaviors are OS dependent.Ende.systemMemoryInfo— Displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel.Ende.SystemMemoryInfo— Information returned from a call to Ende.systemMemoryInfo.Ende.uid— Returns the user id of the process on POSIX platforms. Returns null on Windows.Ende.unrefTimer— Make the timer of the given `id` not block the event loop from finishing.Ende.version— Version information related to the current Ende CLI runtime environment.