What are the global installations of dependencies?

They have globally installed packages or dependencies that are stored in the /npm directory. These dependencies can be used in Command Line Interface (CLI) of any node.js. However, they cannot be imported using require () command in Node application directly. In order to install a Node project globally, you need to use -g flag.

Suggest An Answer

No suggestions avaliable!

Latest post from Node js Interview Questions

Ask Question