Is there a way to see what packages are installed in node_modules that aren't in package.json? I know that npm-check and dependency-check can be used to check modules currently in package.json, but I wonder if there is a way to look for packages that might just be extraneously installed.
Use npm list or its shortcut npm ls to list installed packages.
Packages that not in the package.json will be marked as extraneous.
There is also npm ll or npm la which lists extended information about packages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With