function Deno.hostname
Jump to headinghostname(): stringGet the hostname of the machine the Deno process is running on.
console.log(Deno.hostname());
Requires allow-sys permission.
Return Type Jump to heading
stringJump to headinghostname(): stringGet the hostname of the machine the Deno process is running on.
console.log(Deno.hostname());
Requires allow-sys permission.
string