Answers for "Checking locally installed Node js packages"

0

Checking locally installed Node js packages

//To check for all locally installed packages and their dependencies, 
navigate to the project folder in your terminal and run the npm list command
npm list

//To view the locally installed packages, without their dependencies use:
npm list --depth=0

//You can also check if a specific package is 
//installed locally or not using the npm list command followed by package name.
npm list react
Posted by: Guest on February-05-2022

Code answers related to "Checking locally installed Node js packages"

Browse Popular Code Answers by Language