Create a new Node.js project and work with dependencies

Beginner
Developer
Student
Azure

Use dependencies from the npm registry to develop Node.js applications faster. Learn how to manage dependencies for your project. This module uses JavaScript CommonJS in the Node.js runtime.

Learning objectives

After you complete this module, you'll be able to:

  • Initialize Node.js projects
  • Understand what the manifest file package.json consists of and use it to your advantage
  • Add packages to and remove packages from your Node.js project
  • Manage your package dependencies and update them in a predictable way

Prerequisites

  • Git and Node.js installed on your computer
  • Familiarity with editing text and code files in any text editor