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