npm Flashcards

1
Q

What is NPM?

A

share and borrow packages.
Particular problem solver?
Node Package Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a package?

A

the files you need for a module, those reusable code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can you create a package.json with npm?

A

npm init –yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a dependency and how to you add one to a package?

A

another package that your package needs in order to work.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens when you add a dependency to a package with npm?

A

npm will download dependencies and devDependencies that are listed in package. json that meet the semantic version requirements listed for each.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly