npm intro Flashcards
1
Q
What is NPM?
A
allows for one to share and borrow packages.
2
Q
What is a package?
A
bits of reusable code, or modules. Directory with one or more files with a package.json that contains meta data
3
Q
How can you create a package.json with npm?
A
npm init –yes
4
Q
What is a dependency and how to you add one to a package?
A
a package that your project depends on. npm install name
5
Q
What happens when you add a dependency to a package with npm?
A