Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Mindfulness Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Freelancing Online Business Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Web Development Node.Js

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.
Rating: 4.6 out of 54.6 (431 ratings)
17,926 students
Created by Bogdan Stashchuk
Last updated 2/2021
English
English [Auto]
30-Day Money-Back Guarantee

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
Curated for the Udemy for Business collection

Course content

8 sections • 41 lectures • 2h 19m total length

  • Preview03:13
  • Let's get connected! Join the Learning Community
    00:23
  • LECTURE - Course Navigation.mp4
    01:27
  • PRACTICE - Practice Exercises (IMPORTANT)
    00:19

  • Preview01:32
  • Preview03:11
  • Preview04:45

  • Preview02:13
  • PRACTICE - Install package in the project
    04:42
  • CHALLENGE - Install Semver package
    00:37
  • CHALLENGE - Install Semver Package - SOLUTION
    11:04
  • PRACTICE - Install Browserslist - package with own dependencies
    03:22

  • LECTURE - Dependencies and Development Dependencies
    02:43
  • PRACTICE - Examine Development Dependencies
    06:21
  • PRACTICE - Browser App vs Server Package
    04:41
  • CHALLENGE - Clock Browser Application
    01:42
  • ✓ CHALLENGE - Clock Browser Application - SOLUTION
    12:07
  • LECTURE - Clock Challenge Summary
    02:19
  • LECTURE - Browser App vs Public Package
    06:50

  • PRACTICE - Exploring Package Information and Versions
    02:44
  • PRACTICE - Installing Specific Package Version
    03:25
  • LECTURE - Why package-lock.json file is needed?
    04:28
  • CHALLENGE - Reinstall old package version without lock file
    00:58
  • ✓ CHALLENGE - Reinstall old package version without lock file - SOLUTION
    03:07
  • LECTURE - How lock file is handled
    10:55
  • LECTURE - Lock file summary
    00:37

  • LECTURE - Update NPM packages overview
    01:32
  • CHALLENGE - Update project dependencies
    00:40
  • ✓ CHALLENGE - Update project dependencies - SOLUTION
    05:07

  • LECTURE - Introduction to the NPM scripts
    02:49
  • PRACTICE - Start NPM script
    02:21
  • CHALLENGE - Create prestart script
    01:28
  • ✓ CHALLENGE - Create prestart script - SOLUTION
    07:13
  • PRACTICE - Custom NPM scripts
    02:48
  • CHALLENGE - Run NPM scripts simultaneously
    01:15
  • ✓ CHALLENGE - Run NPM scripts simultaneously - SOLUTION
    03:25

  • LECTURE - NPM .bin Folder with Executable Scripts
    04:45
  • PRACTICE - Explore .bin Folder on the Mac
    02:48
  • PRACTICE - Explore .bin Folder on Windows
    01:28
  • LECTURE - NPM Scripts Wrap-Up
    01:18
  • LECTURE - Additional NPM topics
    00:17

Requirements

  • Basic JavaScript knowledge is desirable but not required
  • Any computer - Mac or PC

Description

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

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.

Happy learning!

Who this course is for:

  • JavaScript developers who want to know how to properly use NPM

Featured review

Yaroslav Vasyunin
Yaroslav Vasyunin
5 courses
4 reviews
Rating: 5.0 out of 52 weeks ago
I'm new to web development. After making simple JS/HTML/CSS web apps, I stumbled over the necessity to install JS packages with NPM. Although I know Python pretty well, NPM was unusual and confusing to me. It is where Bogdan's course helped me a lot. I should add that having little experience in web technologies, I need to find and read external materials to complement the course.

Instructor

Bogdan Stashchuk
Software Engineer, CCIE #22608, MBA, PhD - stashchuk.com
Bogdan Stashchuk
  • 4.7 Instructor Rating
  • 7,516 Reviews
  • 179,058 Students
  • 15 Courses

Do you really want to understand and practice instead of sitting and watching long presentations or trying to code along without any clue what is happening behind the scenes?

Join me in any of my courses and you will get real knowledge based on the deep understanding of every single topic.

But who am I?

My name is Bogdan Stashchuk and I teach students more than 20 years. I am working as Software Engineer and love to teach and learn myself.

I have a huge experience in explaining difficult things in an easy to understand format backed up with practice activities. That is the perfect combination that enables you to really learn and retain gained knowledge for a long period of time.

Let's connect in the Social Networks! All links you could find under the profile picture.

See you on my courses!

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.