npm npm发布 申请账户 提示输入用户名,密码,公共邮箱,填好登录成功 npm login 查看状态 npm whoami 发布 npm publish 注意 发布前需要切换到npm镜像 发布必须更新为更高的版本 npm镜像 nrm ls 查看镜像 nrm use ** 切换镜像