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. Needs Tor client.
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(() => {
})