# ghkeys

> Obtain the PGP keys of your fellow Githubbers using the Github API

Latest version **1.0.2** (published 2018-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install ghkeys
pnpm add ghkeys
yarn add ghkeys
bun add ghkeys
```

Provides the command `ghkeys`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-11-27 |
| First published | 2018-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | William Hilton |
| Maintainers | wmhilton |

## Links

- npm: https://www.npmjs.com/package/ghkeys
- Repository: https://github.com/wmhilton/ghkeys
- Homepage: https://github.com/wmhilton/ghkeys#readme
- Issues: https://github.com/wmhilton/ghkeys/issues
- npm.io page: https://npm.io/package/ghkeys

## Dependencies (1)

- [isomorphic-fetch](https://npm.io/package/isomorphic-fetch.md) ^2.2.1

## Recent versions

- 1.0.2 (latest) — 2018-11-27
- 1.0.1 — 2018-11-27
- 1.0.0 — 2018-11-27

## README

# ghkeys

Obtain the PGP keys of your fellow Githubbers using the Github API

## CLI usage

`ghkeys` takes a single argument, the github username, and outputs all the PGP keys (newline separated) on stdout.

```sh
npx ghkeys [github username] | gpg --import
```

## JS API

```js
const ghkeys = require('ghkeys')

ghkeys(username).then(keys => {
  for (let key of keys) {
    // do something with the key
    console.log(key)
  }
})
```

---
_Source: https://npm.io/package/ghkeys · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
