1.0.2 • Published 7 years ago
github-public-keys v1.0.2
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