package
Find the npm user name of a github name.
npm install find-npm-by-githubGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Find the npm user name of a github name.
var find = require('find-npm-by-github')
find([githubtoken,] githubname, function (err, name) {
if(err) throw(err)
console.log(name) // likely name
})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.
package.json foundEstimated unpacked size across 37 packages.
6.1 MB
Includes dependencies.