0.1.0 • Published 7 years ago

github-related-emails-tor v0.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

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(() => {
        // do more stuff
    })