gh-email
Retrieve the email address from a contributor, by github handle.
npx gh-email <github-handle>Requirements
- A node version that supports
fetch. Node 18+ will do. - A github token, set as
GITHUB_TOKENin your environment.
How to create a github token?
- Go to github settings.
- Keep all checkboxes unchecked.
- Click “Generate token”
- Copy the token to your profile or run
export GITHUB_TOKEN={token}