npm.io
0.1.0 • Published 9 years ago

github-related-emails-tor

Licence
ISC
Version
0.1.0
Deps
2
Vulns
0
Weekly
0

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
    })

Keywords