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