What is NPM?
The command line client, the website, or the package registry
The world’s largest software registry; to share and borrow packages
What is a package?
Directory with one or more files in it; has a package.json
How can you create a ‘package.json’ with ‘npm’?
Go to root directory of package and use ‘npm init –yes’ (or -y);
What is a dependency and how to you add one to a package?
Packages required by application; Use ‘npm install dependency-name’
What happens when you add a dependency to a package with ‘npm’?
Created a ‘node_modules’ directory
Created dependency in package.json file