Node.js · Middle · Question 66 of 75

What does the engines field in package.json express?

Explanation

npm warns when versions don't match; with engine-strict it refuses to install. Many projects also add .nvmrc or a packageManager field.

Further reading

Problem with a question

Node.js · Middle · question 66

Test yourself

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

Take this quiz