github-generate-token

Generating GitHub Personal Access Token using Basic Auth
username:password
Install
npm i github-generate-token --save
npm test
API
For more use-cases see the tests
githubGenerateToken
Generate github token with Basic Auth
<credentials>
{String} credentials patternusername:password
[opts]
{Object} options likescopes
andnote
<callback>
{Function} node style callback
Example
var generateToken = var opts = scopes: 'user' 'gist' note: 'my awesome app note'
Related
- gitclone-cli: Git clone github repository with pattern like
user/repo#branch
- github-base: Base methods for creating node.js apps that work with the GitHub API.
- simple-get: Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.