1.1.1 • Published 8 years ago

github-cli-auth v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Github-CLI-Auth

npm i --save github-cli-auth

require('github-cli-auth')({
  //config
}, (err, github) => {
  //err, or you're authed.
  //github is npm github package instance
});

Config Defaults:

{
  tokenFile: '.github-cli-auth',
  note: 'node-github-cli-auth',
  noteUrl: 'https://github.com/fritzy/github-cli-auth',
  scopes: ['user', 'public_repo', 'repo', 'repo:status', 'gist'],
  pathPrefix: '',
  userAgent: 'Node-Github-CLI-Auth'
}
1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

9 years ago