Udemy

Understanding NPM - Node.js Package Manager

Enroll Now
  • 24,395 Students
  • Updated 2/2024
4.5
(1,721 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
2 Hour(s) 19 Minute(s)
Language
English
Taught by
Bogdan Stashchuk | 300K Students Worldwide | MBA, PhD
Rating
4.5
(1,721 Ratings)
1 views

Course Overview

Understanding NPM - Node.js Package Manager

Understand and practice NPM. Learn how to use NPM in Node.js, how to install NPM packages, how to configure NPM scripts.

In this course I will explain you what is NPM and how it is used.

This course is designed to provide students with a comprehensive understanding of NPM, the Node.js package manager. Students will learn how to use NPM to manage Node.js packages and create their own packages.

The course begins with an overview of NPM and its role in the Node.js ecosystem. Students will learn how to install and configure NPM, including setting up a new Node.js project and managing project dependencies using NPM.

The course then dives into more advanced NPM features, including package versioning and semantic versioning.

Throughout the course, students will gain hands-on experience working with NPM through a series of practical exercises and labs. By the end of the course, students will have a solid understanding of NPM and be able to effectively manage Node.js packages in real-world scenarios.

Learning Objectives:

  • Understand NPM and its role in the Node.js ecosystem

  • Install and configure NPM and create a new Node.js project

  • Manage project dependencies using NPM

You will learn how to initialize new project, how to install new dependencies and explore their child dependencies.

We will also discuss what is Semantic Versioning and what Major, Minor and Patch versions mean.

You will also understand what is the purpose of the package-lock.json file.

I will explain you what is the purpose of the NPM scripts and how they should be used. We will talk about built-in NPM scripts and custom script. Also we will combine several NPM scripts in a one using npm-run-all external package.

You will understand what is executable script and what is the purpose of the .bin folder in the node_modules folder. I will explain you what is shebang line and how it is used on the Unix-based system and on Windows.

After this course you will gain a deep knowledge about NPM and learn how to use it on practice.

Course Content

  • 9 section(s)
  • 41 lecture(s)
  • Section 1 Introduction
  • Section 2 Introduction to the NPM
  • Section 3 Installation of the NPM packages
  • Section 4 Dependencies vs Development Dependencies
  • Section 5 NPM packages versions and package-lock.json file
  • Section 6 Updating NPM packages
  • Section 7 NPM Scripts
  • Section 8 Executable scripts in the NPM
  • Section 9 Wrap up

What You’ll Learn

  • Initialize any project using NPM init
  • Install project dependencies
  • Understand what is the difference between dependencies and development dependencies
  • Explain what is Semantic Versioning and what different kinds of packages versions mean
  • Explain difference between Browser Application and Server Package
  • Understand purpose of the "package-lock" file
  • Update project dependencies
  • Configure NPM scripts and execute them
  • Combine NPM scripts into the one script
  • Explain what is executable script and how it is executed on the Mac and on Windows

Skills covered in this course


Reviews

  • S
    Sarthi Joshi
    5.0

    very good course

  • J
    JBOY HASHIMOTO
    5.0

    I learned about npm symbols like ^ and how to execute commands. It was an old video, but I learned a lot.

  • J
    Jim Keats
    4.0

    Good introduction course.

  • L
    Luis Daniel Rojas Maldonado
    5.0

    excelente curso

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed