6

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 ...

Get Node.js for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.