Node.js Operating System Module
The pack contained all methos of the node js operation system, the cards with methods description and code examples. Start learning process to getting cards direct to your messenger in case to learn NodeJS Operating System Module from scratch or fill up your technical gaps.
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.