Using npm, how do you list installed modules?
Experience Level: Junior
Tags: npm
Answer
To list installed modules, open a command-line, go to your project folder that contains a file package.json and run the following command:
npm list
The list command has multiple aliases so you can also use one of the following versions:
npm ls
or
npm la
or
npm ll
Related npm job interview questions
Using npm, how can you display a list of all installed global packages?
npm JuniorWhat does npm audit fix command do and when would you use it?
npm JuniorUsing npm, how do you check if there is a newer version of some the project package?
npm MediorUsing npm, how do you uninstall a package?
npm JuniorWhere can you find modules that the npm installed locally after you executed the npm install command?
npm Junior
Chat
Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.
Anonymous
Καλησπέρα.
Καλησπέρα.
Anonymous
the infinteis -3/15 so 1triition / infinet
the infinteis -3/15 so 1triition / infinet
Anonymous
e
e
Anonymous
<a href="https://inspirum.pl "
<a href="https://inspirum.pl "
Anonymous
[url]https://inspirum.pl[/url]
[url]https://inspirum.pl[/url]
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e
LaceJaguar65
e
e