npm intro Flashcards
1
Q
What is NPM?
A
Node Package Manager
2
Q
What is a package?
A
Tools and reusable code someone made
3
Q
How can you create a package.json with npm?
A
Go to directory
npm init -y
4
Q
What is a dependency and how to you add one to a package?
A
npm install
5
Q
What happens when you add a dependency to a package with npm?
A
it will install to node_modules folder and adds the file to package.json