How To Check The Already Installed Dependencies Which Are Globally Installed Using Npm? code example
Example: check if a npm package is installed
npm list [package-name] || npm list -g [package-name]
npm list [package-name] || npm list -g [package-name]