https://github.com/quramy/gh-app-token
Get and display GitHub app token
https://github.com/quramy/gh-app-token
github-apps
Last synced: 10 months ago
JSON representation
Get and display GitHub app token
- Host: GitHub
- URL: https://github.com/quramy/gh-app-token
- Owner: Quramy
- License: mit
- Created: 2017-09-19T02:52:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-20T02:55:50.000Z (over 8 years ago)
- Last Synced: 2025-08-23T12:37:17.407Z (10 months ago)
- Topics: github-apps
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-app-token
Get and display API token for GitHub Apps.
## Usage
### CLI
```sh
npx gh-app-token --appId --installationId --pem
```
or
```sh
npm -g install gh-app-token
gh-app-token --appId --installationId --pem
```
### API
```js
const { auth } = require("gh-app-token");
auth(appId, installationId, pemFilePath).then(token => {
// use token
});
```
## License
MIT. See LICENSE under this repository.