ghkeys

1.0.2 • Public • Published

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.

npx ghkeys [github username] | gpg --import

JS API

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    4
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i ghkeys

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

2.51 kB

Total Files

5

Last publish

Collaborators

  • wmhilton