1.0.1 • Published 1 year ago
gh-email v1.0.1
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_TOKEN
in 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}