NPM (Node Package Manager) - Javascript In Depth

Опубликовано: 18 Март 2026
на канале: Tech with Nader
2,703
126

We take a look at NPM (Node Package Manager) together. This is the default package manager that comes with NodeJS when we install it on most systems. We look at what packages are and how NPM actually installs them on our system for us to use in our code. We also look at the most common NPM commands to do things like install, uninstall, update and manage our packages and project in various ways.

This videos also makes use of the lodash and lodash-es packages as a practical example of how NPM helps us leverage code from other developers in our projects.

This is part of a series where we go over Javascript in depth to learn programming concepts as well as web development:    • Javascript In Depth  

Chapters:
00:00 Introduction
00:57 What is NPM?
05:36 NPM Alternatives
06:56 Modules, Libraries, Packages, Frameworks
13:19 NPM Commands
16:46 Setting Up package.json
19:00 NPM install Command
23:40 The node_modules Folder
30:56 Installing lodash-es
34:55 NPM uninstall and NPM update
35:56 NPM run Command
41:36 NPM init Command
42:08 NPM ls and NPM root Commands
44:08 Nested Folders and package.json
53:38 Recap node_modules and package.json
56:00 Package Versioning
58:04 Next Steps

📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/javascript-...
💬 Come join us on Discord to chat with a like-minded community about tech and learning:   / discord  
🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon:   / techwithnader