github-email

1.1.3 • Public • Published

github-email

Retrieve a GitHub user's email even if it's not public. Pulls info from Github user, NPM, activity commits, owned repo commit activity.

image

install

npm install --global github-email

use

github-email ghusername

Authenication Token

If the GH_EMAIL_TOKEN environment variable is not set, the script will ask the user to generate a personal access token for authentication. To do this:

  1. Visit https://github.com/settings/tokens/new?description=github-email
  2. Keep the checkboxes all unchecked
  3. Click Generate Token.
  4. Copy the token.
  5. Run this in your shell export GH_EMAIL_TOKEN=<token>
  6. Also add that line to your shell configuration (e.g. .bashrc)

Readme

Keywords

Package Sidebar

Install

npm i github-email

Weekly Downloads

6

Version

1.1.3

License

MIT

Unpacked Size

3.58 kB

Total Files

3

Last publish

Collaborators

  • paulirish