Skip to content

A simple node.js module to retrieve the public keys of anybody on Github.

Notifications You must be signed in to change notification settings

ishan-marikar/github-public-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-public-keys

A simple node.js module to retrieve the public keys of anybody on Github.

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install github-public-keys --save

Usage

var GithubPublicKeys = require('github-public-keys');

GithubPublicKeys.search('hello@imarikar.com', function(error, response) {
  response.items.forEach(function(profile) {
    console.log(profile);
    GithubPublicKeys.getPublicKeys(profile.login, function(error, keys) {
      console.log(keys);
    });
  });
});

Tests

No tests yet.

Dependencies

  • unirest: Simplified, lightweight HTTP client library

Dev Dependencies

None

License

ISC

Generated by package-json-to-readme

About

A simple node.js module to retrieve the public keys of anybody on Github.

Resources

Stars

Watchers

Forks

Packages

No packages published