get all npm versions code example
Example: npm display all versions
// nicely formatted npm package versions:
npm view <package-name> versions --json
// nicely formatted npm package versions:
npm view <package-name> versions --json