npm check react version code example
Example 1: check react version
npm view react version
npm view react-script version
Example 2: check if a npm package is installed
npm list [package-name] || npm list -g [package-name]
npm view react version
npm view react-script version
npm list [package-name] || npm list -g [package-name]