Quiz · 5 questions
📦 npm
The default — ships with Node.js, universal baseline
Level 0Newbie
0 XP0/55 lessons0/16 achievements
0/80 XP to next level80 XP to go0% complete
Quiz
01Which file should you ALWAYS commit to version control in an npm project?
Hint
It's the lockfile.
02What command should CI/CD pipelines use instead of 'npm install'?
Hint
Two letters. Stands for 'clean install'.
03What does the -D flag do when installing a package?
Hint
D is for the section name in package.json.
04What's npx used for?
Hint
X for 'execute'.
05What's a 'phantom dependency' in npm?
Hint
It's an undeclared dep that works by accident.
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.