Get a GitHub username from an email address
MIT License
Get a GitHub username from an email address
npm install github-username
import githubUsername from 'github-username';
console.log(await githubUsername('[email protected]'));
//=> 'sindresorhus'
Get the GitHub username from an email address if the email can be found in any commits on GitHub.
Returns a Promise<string?>
with the username.
Type: string
The email address for the user of whom you want the username.
Type: object
Type: string
GitHub personal access token.