- Explain what NPM is.
- Explian why NPM is useful.
- Initialize a NPM project.
- Describe what is stored in the
package.jsonfile and in thenode_modulesfolder. - Install NPM modules.
- Uninstall NPM modules.
- Describe the differences between a dependency and a development depedency.
- Describe the relationship between
node_modulesand.gitignore.
Turn to your neighbor and discuss what NPM is. Be prepared to share your answer with the class.
Turn to your neighbor and discuss why NPM is useful. Be prepared to share your answer with the class.
In a slate, write down the command to initialize a NPM project.
In your notes, write down what is contained in the package.json file and the node_modules folder.
Be prepared to share your answer with the class.
In a slate, write down the command to install an NPM module named express. What has changed in the package.json file,
and in the node_modules folder?
In a slate, write down the command to uninstall an NPM module named express. What has changed in the package.json file,
and in the node_modules folder?
Turn to your neighbor and discuss the difference between a dependency and a development dependency.
Turn to your neighbor and discuss why you should add the node_modules folder to .gitignore.
Write in your slate how that is done.