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

Cumulative downloads chart #106

Open
benmccann opened this issue Nov 20, 2021 · 5 comments
Open

Cumulative downloads chart #106

benmccann opened this issue Nov 20, 2021 · 5 comments

Comments

@benmccann
Copy link

I'd love to see a chart that shows the total number of downloads as a running total instead of just the per-week or per-month numbers

@pvorb
Copy link
Owner

pvorb commented Nov 20, 2021

The problem with that is that this piece of software has to rely on npm's API, which only delivers a count for each day. And npm doesn't store these numbers forever. So I only could provide the running total for the provided time frame.

@benmccann
Copy link
Author

That'd still be pretty cool though. Especially in my case where I want to link to it for a library that's only a year old, so that basically would cover the whole time since inception

@pvorb
Copy link
Owner

pvorb commented Nov 24, 2021

If your lib is that new, you can just look at the current year or the last two years and that's your total, right?

@benmccann
Copy link
Author

yeah. I wanted a chart with cumulative running total instead of weekly/month numbers

I ended up building it myself: https://kit-stats.netlify.app/. I still think it'd be a cool feature for npm-stat.com though 😄

@csandman
Copy link

csandman commented Aug 4, 2022

I also came here to leave an issue about this, I think this would be a great feature. Even if it was just a running total of the values in the range selected, I think it would be cool to see total downloads in terms of a curve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants