github-related-emails
v0.1.1
Published
Helps find the email address of a GitHub user, and related emails. Sorted by relevance.
Downloads
3
Maintainers
Readme
What does it do?
This module parses emails from the GitHub public user data. The result is sorted by relevance (number of occurrences an email appears).
The module returns a promise with an array containing emails via resolve() and usually, the first entry would be the user's email.
How to use
CLI
nodejs index.js --user franciskim
Module
const getRelatedEmails = require('github-related-emails')
getRelatedEmails('franciskim')
.then(r => {
console.log(r)
})
.catch(e => {
console.error(e)
})
.then(() => {
// do more stuff
})