What is NPM?
(Website, CLI, the registry) A package manager for the JavaScript language used by programmers to share code (packages) with one another.
What is a package?
A directory with a package.json that can be shared with other developers to incorporate into other uses.
How can you create a package.json with npm?
npm init –yes
What is a dependency and how to you add one to a package?
A dependency is a package needed for your application to work.
You add one with the ‘npm install’ command.
What happens when you add a dependency to a package with npm?
It’s added to the dependecies property of the package.
it generates a node-modules folder with the packages inside.