The operating system-specific end-of-line marker.
\n
on POSIX\r\n
on WindowsPossible values are 'arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 's390', 's390x', 'x32', and 'x64'.
Contains commonly used operating system-specific constants for error codes, process signals, and so on. The specific constants defined are described in OS constants
An array of objects containing information about each logical CPU core.
A string identifying the endianness of the CPU for which the Node.js binary was compiled.
Possible values are 'BE' for big endian and 'LE' for little endian.
The string path of the current user's home directory.
The host name of the operating system as a string.
A string identifying the operating system platform. Possible values are 'aix', 'darwin', 'freebsd', 'linux', 'openbsd', 'sunos', and 'win32'.
The operating system as a string.
Returns the operating system's default directory for temporary files as a string.
Returns the operating system name as returned by uname(3). For example, it returns 'Linux' on Linux, 'Darwin' on macOS, and 'Windows_NT' on Windows.
Returns a string identifying the kernel version.
On POSIX systems, the operating system release is determined
by calling uname(3)
. On Windows, RtlGetVersion()
is used,
and if it is not available, GetVersionExW()
will be used.
Provides the platform-specific path delimiter:
;
for Windows:
for POSIXProvides the platform-specific path segment separator:
\
on Windows/
on POSIXOptional
packageOptional
configurationOptional
propertiesGenerated using TypeDoc
https://nodejs.org/dist/latest-v16.x/docs/api/process.html#process_process_env