Course image for Learn NPM - Node Package Manager complete course

Learn NPM - Node Package Manager complete course

We will cover yarn, node package manager (NPM), NPX, node modules, lockfiles, scripts and all things necessary you should know for a package manager

2 hours+ of total content
4.9
4 ratings
307 developers learning
Course Creator: Mehul Mohan

Hang on...

Heads up!

This is an official course from Frontend Web Developer learning path.

Goals

  • Learning to use npm/yarn in everyday projects
  • Understanding the basics of how npm works
  • Some under-the-hood npm things
  • All about latest npm 6.x and above things
  • Managing packages, node_modules, package-lock and more
  • Understanding npx and how it works

Description

Node package manager - NPM is a great tool used all around the web development ecosystem. Whether it's frontend or backend, Node or React, Angular, or TypeScript, you're gonna make use of NPM all along. It is a great idea to add this useful tool to your bucket of mastery as it will save you a ton of time while working/building/running your apps.

We would be going over the core basics of NPM and how it works:

  1. What is NPM and how it works
  2. Understanding under the hood things with NPM
  3. Working with NPX
  4. Package and package-lock files, why they're needed
  5. Useful NPM commands
  6. Local, global node modules
  7. Caching, moving global modules directories, and more

If you want to be a good web developer in todays' time, this tool is a must to know in-depth. This is also the part of codedamn's official learning path therefore make sure to check the next/previous course in the path.

Course Structure

32 lectures 02:06:54 total duration

Introduction

(6 lectures • 25 minutes)
  Introduction to series (Watch video)
01:15
  What is NPM? How is it related to Node? (Watch video)
05:28
  NPM vs Yarn (Watch video)
04:32
  Installing NPM and Node on your system 
04:37
  Check NPM version (Practice concept)
05:00
  Check Yarn version (Practice concept)
05:00
  Why Node versioning is required? 
04:09
  Managing multiple Node versions using `n` 
06:45
  What is an NPM module? 
04:36
  How does NPM install module? 
04:50
  package.json file 
03:30
  Exploring package.json 
02:17
  Initialize a NPM project (Practice concept)
05:00
  Installing module 
01:42
  Removing module 
01:15
  Local v/s global modules 
05:32
  Installing a node module (Practice concept)
05:00
  Intro to NPM dependencies 
00:22
  Semantic Versioning 
05:17
  All about package-lock.json 
09:28
  Semantic versioning in package.json 
03:57
  dependencies 
02:20
  devDependencies 
04:25
  peerDependencies 
05:05
  NPM scripts intro 
00:14
  What are NPM scripts 
06:43
  Creating an NPM script (Practice concept)
05:00
  All about NPX 
06:50
  Misc intro 
00:15
  Changing global packages installation location 
02:58
  NPM cache and purging 
02:36
  Finishing course 
00:56

Course Reviews

Jul 17, 2021
awesome
Jul 14, 2021
Amazing explanation of NPM
Jul 01, 2021
This is the best course that can you find on the web
Jan 12, 2021
very useful!

Your Course Instructor

Course Instructor Image

Mehul Mohan

Full-stack developer and security researcher

I'm a full-stack developer working with JavaScript and its associated runtimes for the past 7 years. I love to play with code and make something useful out of it! You can find me on social media, I'm quite active there :)
codedamn logo

We ♥ quality. And we would love to see your growth. Hence, codedamn comes with a pro plan for advanced and accelerated learning!

Free

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • Support over WhatsApp
  • Full learning path unlocked
  • Unlimited hands-on practice

Pro

  • HD video content
  • Certificate of completion
  • Mentorship from codedamn staff
  • Support over WhatsApp
  • Full learning path unlocked
  • Unlimited hands-on practice
Try codedamn Pro (7 day free refund)