npm Flashcards
1
Q
What is NPM?
A
Node packagi
2
Q
What is a package?
A
a directory with reusable code
3
Q
How can you create a package.json with npm?
A
4
Q
What is a dependency and how do you add one to a package?
A
its a package that you depend on (node –install -packagename-)
5
Q
What is a version?
A
when there is a major change to the package the version number goes up
6
Q
What happens when you add a dependency to a package with npm?
A
it gets added to your dependency in your package.json and it creates a node module directory and it installs all files needed
7
Q
What are some other popular package managers?
A
yarn, pnpm