Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/os.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.105.0/node/os.ts";

Functions

Returns the operating system CPU architecture for which the Deno binary was compiled

Not yet implemented

Returns a string identifying the endianness of the CPU for which the Deno binary was compiled. Possible values are 'BE' for big endian and 'LE' for little endian.

Return free memory amount

Not yet implemented

Returns the string path of the current user's home directory.

Returns the host name of the operating system as a string.

Returns an array containing the 1, 5, and 15 minute load averages

Not yet implemented

Returns the a string identifying the operating system platform. The value is set at compile time. Possible values are 'darwin', 'linux', and 'win32'.

Returns the operating system as a string

Not yet implemented

Returns the operating system's default directory for temporary files as a string.

Return total physical memory amount

Returns operating system type (i.e. 'Windows_NT', 'Linux', 'Darwin')

Not yet implemented

Not yet implemented