What is NPM?
Public software registry. You can use npm to share and borrow packages. a way to share code with other developers. cli, registry, and website
What is a package?
reusable code. Its a directory with one or more files in it.
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?
dependencies are packages that other packages need to perform a given task. you can add dependencies by using npm install
What happens when you add a dependency to a package with npm?
node_modules gets added to that directory. that dependency is added within the package.json file.