InterviewSolution
Saved Bookmarks
| 1. |
What is global installation of dependencies? |
|
Answer» Globally installed packages/dependencies are stored in <user-directory>/npm directory. Such dependencies can be used in CLI (Command Line Interface) function of any node.js but can not be imported using require() in Node application directly. To install a Node project globally use -g flag. C:\Nodejs_WorkSpace>npm install express -g |
|