Check for installed packages that are not in the package. Json
Is there a way to see which packages are installed in node_modules
which are not in package.json
? I know that npm-check and dependency-check can be used to check modules currently in package.json
, but I'm wondering if there is a way to find packages that can just be installed.
source to share
Use npm list
or its shortcut npm ls
to the list of installed packages .
Packages that are not in package.json
will be marked as extraneous .
There is also npm ll
or npm la
, which lists advanced package information.
source to share