Package-level declarations
Types
Properties
Functions
Returns an estimate of the default amount of parallelism a program should use. Always returns a value greater than zero.
Returns a string identifying the endianness of the CPU for which the Node.js binary was compiled.
Returns the scheduling priority for the process specified by pid
. If pid
is not provided or is 0
, the priority of the current process is returned.
Returns an object containing network interfaces that have been assigned a network address.
Attempts to set the scheduling priority for the process specified by pid
. If pid
is not provided or is 0
, the process ID of the current process is used.
Returns information about the currently effective user. On POSIX platforms, this is typically a subset of the password file. The returned object includes the username
, uid
, gid
, shell
, and homedir
. On Windows, the uid
and gid
fields are -1
, and shell
is null
.