9.0.0 • Published 8 months ago

github-username v9.0.0

Weekly downloads
516,090
License
MIT
Repository
github
Last release
8 months ago

github-username

Get a GitHub username from an email address

Install

npm install github-username

Usage

import githubUsername from 'github-username';

console.log(await githubUsername('sindresorhus@gmail.com'));
//=> 'sindresorhus'

API

githubUsername(email, options?)

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.

email

Type: string

The email address for the user of whom you want the username.

options

Type: object

token

Type: string

GitHub personal access token.

Related

coge-generatorreact-native-bluetooth2create-geosecma-librarygenerator-just-tsdivramod-typescript-startervscode-intl-javascript-plugin-mdsairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-module@robmayer/create-react-librarydex-react-package-creation-1vfs-create-react-libraryvfs-create-widgetgenerator-expressivegenerator-bfee-blankrepogenerator-bfee-revealjs@everything-registry/sub-chunk-1766divramod-tstcloud-test-cliwho-thatwxb-clistarter-kit-utils@pratico/typescript-startergenerator-bootstrap-boilerplate-templategenerator-webdesign-boilerplategenerator-mogenerator-smjetbrains-jsjnf-accesscontrol-rnttllaslasskrulkrul-clihobogwi@wal3/create-react-library@whodunit/investigator@wyze/changelog@types/github-username@trails/generator-node@vtex/create-react-library@yplabs-ltd/react-native-detector@zalastax/nolb-github-uattr-uiaqu@21epub/create-ts-cli-app@21epub/create-parcel-app@21epub/create-parcel-react-library@21epub/create-storybook-react-library@egovernments/create-ui-library@coge/generator@codedungeon/gunner@codedungeon/laravel-versions-cli@corelmax/react-native-my2c2p-sdk@hbglobal/react-native-actions-shortcutsud7-act2ultrain-ts-libtypescript-startertipi-cli@chiaraani/bouncing-ballyeoman-generatoryeoman-generator-aheadyeoman-generator-asmaginwebpack-fork-yeoman-generatorvfs-create-widget-template@ladifire-opensource/relib@kraihn/generator-swagger-spec@kraihn/generator-ts@mshima/generator@mrmld/create-react-native-library@nascentdigital/create-e2e-tests@nandhakumarb/npm_sample@khulnasoft/release@ko-developerhong/react-native-multiple-image-picker@react-native-community/bob@phong95/react-native-multiple-image-picker@reuters-graphics/graphics-binmerry-plugin-npmnative-apple-loginnative-kakao-loginnative-google-loginoe-generatorscafreact-native-modal-progress-barreact-native-lib-clireact-native-is7react-native-flyyrn-circular-chartreact-create-libraryreact-modern-library-clireact-library-clireleaseappsreleaseread-git-userreact-native-offline-noticereact-native-kakao-mapssaasifyreact-native-contact-listreact-native-test-module-hhh
9.0.0

8 months ago

8.0.0

2 years ago

7.0.0

4 years ago

6.0.0

5 years ago

5.0.1

6 years ago

5.0.0

7 years ago

4.1.0

8 years ago

4.0.0

9 years ago

3.0.0

9 years ago

2.1.0

10 years ago

2.0.0

10 years ago

1.1.1

11 years ago

1.1.0

11 years ago

1.0.0

11 years ago

0.1.1

12 years ago

0.1.0

12 years ago