gh-username-available
Find out whether a GitHub username is available or taken
Install
$ npm install --save gh-username-available
Usage
var ghUsernameAvailable = ; ; ;
CLI
$ npm install --global gh-username-available
$ gh-username-available --help
Usage
$ gh-username-available username
Examples
$ gh-username-available icyflame
✖ Taken
$ gh-username-available harry-potter-1
✔ Available
API
ghUsernameAvailable(username, callback)
username
Required
Type: string
Username that you are trying to check
callback(err, value)
Required
value is true
if the username is available, and false
if it is taken.
License
MIT © Siddharth Kannan