You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub introduced a new metric, which I find much more relevant than stars or downloads. It shows the number of times a dependency is used by other repositories. It would be nice to have that metric added to Github-scraper.
The text was updated successfully, but these errors were encountered:
@matheusflauzino agree 100% that the Used by metric is useful. 👍
If you or anyone else has time to add the test(s) and selector in a Pull Request,
I'd be happy to merge it.
But sadly, it does not appear when the page is requested via node.js ...
Our node.js http.request only receives the html and none of the client-side rendered javascript...
Try it for yourself, disable JS in your browser and refresh the page:
No more "Used by" ...
We could get around this by using a Chromium instance (e.g: PhantomJS) and waiting for the JS to finish rendering. However, I checked and it won't work because we would need a logged in session in PhantomJS (the counter is not shown if you visit the page in incognito mode...).
GitHub introduced a new metric, which I find much more relevant than stars or downloads. It shows the number of times a dependency is used by other repositories. It would be nice to have that metric added to Github-scraper.
The text was updated successfully, but these errors were encountered: