Learning npm: A Package Manager
56mBeginner2023-03-10
Authors

Emmanuel Henri
Executive with 20+ years of experience in programming and design
Course details
npm is an indispensable part of every developer's toolbox. It's the package manager for JavaScript and JavaScript frameworks such as Node.js, enabling developers to easily share and re-use code. In this course, Emmanuel Henri teaches developers how to work with npm commands to install and manage project dependencies. He starts with showing how to install npm, and details all the basic tools you can use with npm, such as adding, updating, or removing a package. Emmanuel then shows you how to take your skills to the next level, taking a dive deep into advanced features like npm cache, audits, scripting, and more.
Skills covered
NPMSoftware DeploymentNode.jsSoftware AdministrationIT AutomationFront-End Web DevelopmentLearningWeb DevelopmentNetwork and System AdministrationOpen Source
Concepts
0. Introduction
- 01 - Learning npm
- 02 - What you should know
- 03 - Using GitHub Codespaces with this course
1. Definition and Installation
- 04 - Defining a package and npm
- 05 - Installing Node and npm
2. Getting Started with npm
- 06 - Initializing a package.json file
- 07 - Adding node packages
- 08 - Managing global directory
- 09 - Updating a dependency
- 10 - Removing a dependency
- 11 - Semantic versioning
- 12 - Introduction to package-lock.json
3. Publishing Your Package
- 13 - Publishing an unscoped package
- 14 - Publishing a scoped package
- 15 - Publishing a private package
4. Advanced Subjects
- 16 - Working with your npm cache
- 17 - Running an npm audit
- 18 - Scripting in package.json
- 19 - Introduction to npx
- 20 - Alternatives to npm
Conclusion
- 21 - Furthering your npm journey