An open API service indexing awesome lists of open source software.

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

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.