跳转到内容

npm whoami

npm whoami命令返回当前登录的 npm 用户名。

Terminal window
$ npm whoami