npm list -g
npm list -g --depth=0
npm view webpack versions --json
npm list #adding -g shows globally installed packages
npm view npm versions --json
find any package version list
syntax
npm view package-name versions --json
# npm list all versions of a package/module:
npm view <PACKAGE> versions
# Example:
npm view jest versions
npm view jest versions --json