Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get webtorrent jsdelivr script stats #1258

Closed
feross opened this issue Jan 6, 2018 · 5 comments
Closed

Get webtorrent jsdelivr script stats #1258

feross opened this issue Jan 6, 2018 · 5 comments

Comments

@feross
Copy link
Member

@feross feross commented Jan 6, 2018

Wow, apparently the CDN-hosted version of "webtorrent.min.js" on jsdelivr is downloaded 1 million times per month, according to this badge:


https://data.jsdelivr.com/v1/package/npm/webtorrent/badge

Does anyone know how to get detailed stats? Which domains are including the script?

The "webtorrent" npm package only gets 12K downloads/month, so I'm super shocked to see 1M downloads/month on the CDN-hosted script... seems like a mistake.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Jan 6, 2018

Ongoing discussion happening on Twitter: https://twitter.com/feross/status/949699972643151872

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Jan 8, 2018

It does make sense if each visit is a hit, btorrent gets 38k unique visitors per month, which can be alone more than 38k hits.

@jimaek might have more info

@jimaek

This comment has been minimized.

Copy link

@jimaek jimaek commented Jan 8, 2018

@DiegoRBaquero Hey, the data is 100% correct. npm downloads and CDN hits have nothing in common :)
I even PMed feross with a list of domains that use it.
Let me know if you have any other questions.

@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Feb 16, 2018

@jimaek Nice, thanks for chiming in. Cheers!

@feross feross closed this Feb 16, 2018
@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented Feb 16, 2018

PR to add the badge to our readme: #1294

@lock lock bot locked as resolved and limited conversation to collaborators May 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.