查找github用户的可能邮箱
我们需要用到一个工具github-email。要在liunx下
工具地址:https://github.com/paulirish/github-email/
https://github.com/paulirish/github-email/
1.安装github-email
npm install --global github-email
如果没有npm
apt install npm
安装成功的标志:
2.配置
可能会报下面的错:
GH_EMAIL_TOKEN 没有设置
https://github.com/settings/tokens/new?description=github-email
把这个网站的使用选项都勾选,然后再最下面点击Generate Token.
保存这个token.
export GH_EMAIL_TOKEN=你的token
设置好之后可以使用了
3.使用
github-email 你想搜索作者的在GitHub中的名字
例如:github-email fan