npm check all versions of package code example Example: npm view available versions npm view webpack versions --json