Node.js · Middle · Question 66 of 75
What does the engines field in package.json express?
- 1The database engines the package uses
- ✓Correct answer: The Node.js (and npm) versions the package supports, e.g.
"node": ">=22" - 3Which JavaScript engine to download
Explanation
npm warns when versions don't match; with engine-strict it refuses to install. Many projects also add .nvmrc or a packageManager field.