[NPM intro]
What is NPM?
A website (npmjs.com) A Command Line Interface (CLI) The Registry (where to get packages from)
[NPM intro]
What is a package?
A directory with package.json in it and one or more other files.
[NPM intro]
How can you create a package.json with npm?
while in the directory, using the CLI:
npm init –yes
[NPM intro]
What is a dependency and how do you add one to a package?
Libraries or software that is required for that specific package, you can add it by installing inside the directory with the package.json file.
[NPM intro]
What happens when you add a dependency to a package with npm?
It is listed inside the package.json object under dependencies.
It installs the node modules in the directory as well.