Using the Node Package Manager

The Node Package Manager you have already seen is a command-line utility. It allows you to find, install, remove, publish, and do a lot of other things related to Node Packaged Modules. The Node Package Manager provides a link between the Node Package Registry and your development environment.

The simplest way to really explain the Node Package Manager is to list some of the command-line options and what they do. You will be using many of these options in the rest of this chapter and throughout the book. Table 3.1 lists the Node Package Manager commands.

Image

Table 3.1 npm command-line options (with express as the package, where appropriate)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset