Udemy

Understanding NPM - Node.js Package Manager

立即報名
  • 24,395 名學生
  • 更新於 2/2024
4.5
(1,721 個評分)
  • 提示:
  • 透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期*
全年招生
課程級別
學習模式
修業期
2 小時 19 分鐘
教學語言
英語
授課導師
Bogdan Stashchuk | 300K Students Worldwide | MBA, PhD
評分
4.5
(1,721 個評分)
*提示: 以上時間表僅供參考,以機構網站為準。

課程簡介

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.

課程章節

  • 9 個章節
  • 41 堂課
  • 第 1 章 Introduction
  • 第 2 章 Introduction to the NPM
  • 第 3 章 Installation of the NPM packages
  • 第 4 章 Dependencies vs Development Dependencies
  • 第 5 章 NPM packages versions and package-lock.json file
  • 第 6 章 Updating NPM packages
  • 第 7 章 NPM Scripts
  • 第 8 章 Executable scripts in the NPM
  • 第 9 章 Wrap up

課程內容

  • 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

此課程所涵蓋的技能


評價

  • 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

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策與使用條款才繼續瀏覽。

我已閱讀及同意