Learning npm the Node Package Manager

Learning npm the Node Package Manager

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 0h 43m | 101 MB

Imagine being able to share and reuse code from common JavaScript libraries like Grunt, Gulp, and Underscore, in addition to custom code. With the node package manager (npm), reusing code is a snap, making it an indispensable part of every developer’s toolbox. In this course, Emmanuel Henri shows how to install npm on macOS, Windows, and Linux, and use npm commands and packages to track project dependencies and control installations. Plus, learn how to use NPX, the node package runner, and alternatives to npm such as Yarn.

Topics include:

  • Installing Node and npm
  • Adding and removing node packages
  • Updating a package
  • Working with an NPM cache
  • Running an NPM audit
  • Introduction to NPX
Table of Contents

Introduction
1 Learning npm
2 What you should know

Introduction and Installation
3 What are packages and npm
4 Installing Node npm on Mac
5 Installing Node npm on Windows
6 Installing Node npm on Linux

Getting Started with npm
7 Initializing a package.json file
8 Adding node packages
9 Managing global directory
10 Updating a package
11 Removing a package
12 Semantic versioning
13 Introduction to package-lock.json

Advanced Subjects
14 Working with a npm cache
15 Run an npm audit
16 Scripting in package.json
17 Introduction to npx
18 Other alternatives to npm

Conclusion
19 Next steps