vlad 6f123ff03e 18.07 6 yıl önce
..
index.js 6f123ff03e 18.07 6 yıl önce
license 6f123ff03e 18.07 6 yıl önce
package.json 6f123ff03e 18.07 6 yıl önce
readme.md 6f123ff03e 18.07 6 yıl önce

readme.md

github-username Build Status

Get a GitHub username from an email address

Install

$ npm install github-username

Usage

const githubUsername = require('github-username');

githubUsername('sindresorhus@gmail.com').then(username => {
	console.log(username);
	//=> 'sindresorhus'
});

API

githubUsername(email, [token])

Returns a Promise for the username.

email

Type: string

Email address for the user of whom you want the username.

token

Type: string

GitHub personal access token.

Related

License

MIT © Sindre Sorhus