Where can you find modules that the npm installed locally after you executed the npm install command?
Experience Level:
Junior
Tags:
npm
Answer
If you install the module locally using the command npm install <module-name>
, it will be installed in the folder node_modules under your project folder (folder that contains a file package.json).
Related npm job interview questions
-
Using npm, how do you check if there is a newer version of some the project package?
npm Mid-level -
Using npm, how do you uninstall a package?
npm Junior -
What does npm init command do and when would you use it?
npm Junior -
What information is stored about every dependency in the npm file package.json?
npm Junior -
What metadata does the npm file package.json contain?
npm Junior