npm Quiz Questions Flashcards
1
Q
What is NPM?
A
the world’s largest software registry that allows developers to share and borrow packages. The website, CLI, and registry
2
Q
What is a package?
A
reusable code or sometimes known as modules
3
Q
How can you create a package json with npm?
A
by running the npm code “npm init –yes”
4
Q
What is a dependency and how do you add one to a package?
A
A package references to another package. You can add a package buy installing it in the CL
5
Q
What happens when you add a dependency to a package with npm?
A
It downloads the package from the npm registry. It also adds it to the package json file under dependencies