find-npm-by-github
Windows | Mac/Linux |
---|---|
Find the npm user name of a github name.
var find =
It does so right now by fetching the javascript repos of the user, looking at the
package.json
files for the module name. Going to npm to look up the collaborators
for those packages. Return the most often found collaborator.
The githubtoken
can be crated here and
allows you to not reach the rate limit that fast.
Possibilities to improve this module:
- Most people have the same name on npm, look this up first
- Compare npm email to github email, if this matches we found the right person
- Paginate through all the repos of the users in case there is no
package.json
found