npm show registry code example
Example 1: npm view available versions
npm view webpack versions --json
Example 2: npm show registry
> npm config get registry
# https://registry.npmjs.org/
npm view webpack versions --json
> npm config get registry
# https://registry.npmjs.org/