2. Node.js and npm
Learning Objectives
By the end of this chapter, you will be able to:
- Install and use Node.js to build applications
- Run JavaScript code using the Node.js execution environment
- Install and manage multiple Node.js versions using nvm
- Identify and use modules developed by other developers using npm
- Create and configure your own npm package
In this chapter, we will switch gears to the backend world by learning about Node.js and the basic concepts around it. We will go through how to install and manage multiple versions of Node.js using nvm, and then we will learn about npm and how to find and use external modules.