Node.js Operating System Module
OS
The node:os module provides operating system-related utility methods and properties.
The node:os module provides operating system-related utility methods and properties.
<string> The operating system-specific end-of-line marker.
This function is a small wrapper about libuv's uv_available_parallelism().
The return value is equivalent to process.arch.
<Object> Contains commonly used operating system-specific constants for error codes, process signals, and so on.
The specific constants defined are described in OS constants.
Returns an array of objects containing information about each logical CPU core.
<string> The platform-specific file path of the null device.
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.