Node.js · Junior · Question 52 of 75
Which module gives information about the operating system, such as CPU count and free memory?
- ✓Correct answer:
node:os - 2
node:hardware - 3
node:system
Explanation
For example, os.availableParallelism() and os.cpus() for CPUs, os.freemem() for memory and os.EOL for the line ending.