Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Understanding NPM - Node.js Package Manager

Bogdan Stashchuk via YouTube

Overview

Dive into a comprehensive tutorial on NPM (Node Package Manager) covering essential concepts and practical applications. Learn about package initialization, semantic versioning, installation processes, and the intricacies of package.json and package-lock.json files. Explore the differences between browser applications and server packages, and gain hands-on experience through various challenges. Master NPM scripts, including custom and simultaneous execution, and discover the top 10 NPM packages. Conclude with a crash course on NPM and learn how to create a Node.js application in just 5 minutes.

Syllabus

NPM TUTORIAL: 01 Introduction to NPM.
02 Exploring NPM packages.
03 NPM package.json and "npm init" - how to properly initialize new project.
What is Semantic Versioning?.
NPM Packages Installation using "npm install".
07 CHALLENGE - Install Semver package.
08 CHALLENGE Install Semver Package SOLUTION.
09 Install Browserslist - package with own dependencies.
10 Dependencies and Development Dependencies.
11 Examine Development Dependencies.
12 Browser App vs Server Package.
14 CHALLENGE Clock Browser Application SOLUTION.
16 Browser App vs Public Package.
17 Exploring Package Information and Versions.
package-lock.json explained.
22 How package-lock.json file is handled in NPM.
23 Lock file summary.
24 Update NPM packages overview.
27 Introduction to the NPM scripts.
NPM start script.
30 CHALLENGE Create prestart script SOLUTION.
31 Custom NPM scripts.
32 CHALLENGE Run NPM scripts simultaneously.
33 CHALLENGE Run NPM scripts simultaneously SOLUTION.
34 NPM bin Folder with Executable Scripts.
TOP 10 NPM Packages.
Node.js Application in 5 minutes.
NPM (Node Package Manager) Crash Course.

Taught by

Bogdan Stashchuk

Reviews

Start your review of Understanding NPM - Node.js Package Manager

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.