Skip to main content

Module os

Module os 

Source
Expand description

Node os module. Values that Node derives from the host (platform, arch, hostname, home/tmp dirs, endianness, EOL) are returned faithfully; the machine-specific numeric readings (cpus, totalmem, freemem, loadavg, uptime) return best-effort placeholders (not fuzzed — they vary per host on reference Node too).

Constants§

METHODS

Functions§

arch
Node’s os.arch()/process.arch string for the build target.
call
constant
os.EOL constant.
platform
Node’s process.platform/os.platform() string for the build target.