npm-intro Flashcards
1
Q
What is NPM?
A
NPM is the world’s largest software registry, used by developers to share and borrow packages
2
Q
What is a package?
A
a file direcrtory that is described by a package JSON in order to be published to the NPM registry
3
Q
How can you create a package.json with npm?
A
a package JSON file must contain a name and a version. The name consists of a package name and must be lower cased
4
Q
What is a dependency and how to you add one to a package?
A
dependancies are packages required by your application in production
5
Q
What happens when you add a dependency to a package with npm?
A
The package JSON gets updated with the newly installed dependancy