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/5Score 0

What does `npx` do?

Questions in this quiz
  1. What does `npx` do?
  2. What does `npm uninstall <pkg>` do?
  3. How do you install a package globally?
  4. What does `npm install` (with no arguments) do?
  5. In semver `^1.4.2`, which updates does the caret allow?
  6. Which scripts run automatically when someone runs `npm install`?
  7. What does the tilde range `~1.4.2` allow?
  8. What is the npm registry?
  9. Which command adds `lodash` to `dependencies` and installs it?
  10. What is a scoped package like `@myorg/utils`?
  11. What is the purpose of the `scripts` field in package.json?
  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