External Modules and npm
Node Package Manager (npm) is one of the most popular software registries around the world. There are more than two million packages available for us to use. In this chapter, we will explore how to use npm commands and NPX, as well as what the isomorphic libraries are and how to choose the correct dependencies for our project, so we can minimize the risks. As a final practice, you will publish a package to npm.
In this chapter, we will explore how to use external modules in our projects. This will allow us to reuse code from other developers and save time and effort. We will explore together the vast ecosystem of Node.js modules, and we will learn how to choose the correct modules for our projects.
To sum up, here are the main topics that we will explore in this chapter:
- Managing the application with
package.json
- Choosing the correct dependencies for your project
- Installing dependencies
- Removing dependencies
- Understanding
package...