All quizzes
Free quiz · 35 questions in the bank

npm quiz

Test your npm knowledge with a free interactive quiz — 35 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

What does `npm outdated` show?

In this round
  1. What does `npm outdated` show?
  2. What is the purpose of the `scripts` field in package.json?
  3. What is `node_modules`?
  4. What is the npm registry?
  5. Which command adds `lodash` to `dependencies` and installs it?
  6. How do you install a package globally?
  7. What does the tilde range `~1.4.2` allow?
  8. What does `npm uninstall <pkg>` do?
  9. In semver `^1.4.2`, which updates does the caret allow?
  10. What does `npm init` do?
  11. What does `npm run build` do?
  12. What is the difference between `dependencies` and `devDependencies`?
Gaps to close?
Read the curated npm notes — core concepts, patterns, interview prep.
npm notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web