LFZ NPM Quiz Flashcards

1
Q

What is NPM?

A

Software registry

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

What is a package?

A

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

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

Packages required by your application in production, and you install it with npm install (name of package)

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

The package gets added to the package.json, and you the package gets downloaded into the node_module, along with their dependencies

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