Learning npm the Node Package Manager (2018)

Learning npm the Node Package Manager (2018)

43mBeginner2018-10-16

Authors

Emmanuel Henri

Emmanuel Henri

Executive with 20+ years of experience in programming and design

Course details

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.
Learning objectives
Installing Node and npm
Adding and removing node packages
Updating a package
Working with an NPM cache
Running an NPM audit
Introduction to NPX

Skills covered

NPMNode.jsJavaScript FrameworksFront-End Web DevelopmentLearningWeb DevelopmentOpen Source

Concepts

0. Introduction

  • 01 - Learning npm
  • 02 - What you should know

1. Introduction and Installation

  • 03 - What are packages and npm
  • 04 - Installing Node npm on Mac
  • 05 - Installing Node npm on Windows
  • 06 - Installing Node npm on Linux

2. Getting Started with npm

  • 07 - Initializing a package.json file
  • 08 - Adding node packages
  • 09 - Managing global directory
  • 10 - Updating a package
  • 11 - Removing a package
  • 12 - Semantic versioning
  • 13 - Introduction to package-lock.json

3. 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
40,000 Toman