Understanding NPM – Node.js Package Manager

0

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

What Will I 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 the difference between Browser Application and Server Package
  • Understand the 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 an executable script and how it is executed on the Mac and on Windows

Requirements

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

Description

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

You will learn how to initialize the new projects, 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 to 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 scripts. Also, we will combine several NPM scripts in one using the npm-run-all external package.

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

Happy learning!

Who is the target audience?
  • JavaScript developers who want to know how to properly use NPM

Created by Bogdan Stashchuk
Last updated 1/2020
English
English [Auto-generated]

Size: 2.44 GB

Download Course

Leave A Reply