function uptime Usage in Denoimport { uptime } from "node:os"; uptime(): number Returns the system uptime in number of seconds. Return Type number