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.145.0/node/os.ts";

Functions

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

Returns an object containing network interfaces that have been assigned a network address. Each key on the returned object identifies a network interface. The associated value is an array of objects that each describe an assigned network address.

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