Node.js · Junior · Question 52 of 75

Which module gives information about the operating system, such as CPU count and free memory?

Explanation

For example, os.availableParallelism() and os.cpus() for CPUs, os.freemem() for memory and os.EOL for the line ending.

Further reading

Problem with a question

Node.js · Junior · question 52

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz