Node.js · Junior · Question 11 of 75

Which two module systems does Node.js support?

Explanation

CommonJS is the original Node.js system. ES modules are the language standard and are now fully supported. New projects usually choose ESM.

Further reading

Problem with a question

Node.js · Junior · question 11

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