0.1.1 • Published 7 years ago
github-related-emails v0.1.1
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
})