NPM INTRO Flashcards
1
Q
What is NPM?
A
software registry that has 3 components where user can share and use code packages
website
CLI
registry
no prescribed meaning
2
Q
What is a package?
A
A package is reuseable code that is ‘packaged’
directory
package.json
3
Q
How can you create a package.json with npm?
A
npm init
4
Q
What is a dependency and how to you add one to a package?
A
3rd party code Packages required by your application , npm install ‘whatever’
5
Q
What happens when you add a dependency to a package with npm?
A
The code will be functional