question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Downloads total is not correct

See original GitHub issue

Recently I’m digging more and more around the statistics of my most (that I know) used packages, and seeing that the downloads badge isn’t showing correct information. Not sure if it’s only the total downloads badge though.

For example, the badge https://badgen.net/npm/dt/formidable for formidable is showing 170M, but it’s around 312M - https://twitter.com/tunnckoCore/status/1225150205982662657.

Today I’m seeing such mismatches with koa-better-body (600K, shows 329K), parse-function (2.7M, shows 35K) and get-installed-path is most close (2.1M, shows 1.7), and more. I’m looking on https://npm-stat.com

I can look around when get some time.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
amiocommented, Feb 10, 2020
2reactions
amiocommented, Feb 10, 2020

The NPM API returns the last 18 months as the maximum range - you’ll need to do multiple queries for each 18 month period.

In addition, it looks like the api reports data starting from 2015-1-10 (not 2005-1-1): https://api.npmjs.org/downloads/range/2000-1-1:2015-1-31/express

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Finish Store Downloads - Incorrect download status
In the store download and updates page, the download status shown for currently updating or downloading app is completely wrong. Sometimes ...
Read more >
Solved: Totals not correct - Microsoft Power BI Community
Solved: Hi, I'm trying to get a total cost of 7.4k in Column3 based on the values in Column1 that are "True". I've...
Read more >
Total files not loading: Issues with Total files
In order for the Total files download to work: · Check internet connection. The reasons why Total files cannot be loaded cannot be...
Read more >
Why my measure returns the wrong total? How to fix that?
This is a common issue that a measure returns the correct value in a table or matrix visuals, but the total value is...
Read more >
How To Easily Fix Incorrect Measure Totals In Power BI
The usual complaint is that the " Total " row is “ incorrect ” for the measure. Usually, the total row is correct...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found