npm (node package manager) Flashcards
1
Q
What is NPM?
A
Node Package Manager where you can get packages created by other developers and share your own
2
Q
What is a package?
A
Basically a file/files with reusable code block
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
Dependency shows the package installed.
using npm install packageName
5
Q
What happens when you add a dependency to a package with npm?
A
It creates a node module with relevant files