npm / download-counts

Background jobs and a minimal service for collecting and delivering download counts
329 stars 27 forks source link

Is it possible to get the daily downloads to include the versions downloaded? #26

Closed mrjoelkemp closed 8 years ago

mrjoelkemp commented 8 years ago

I'd love to get some data on the version of a package being downloaded. Would it be possible to introduce additive data for the daily download endpoint to include a breakdown of versions?

Something like:

{
  'foobar': {
    downloads: [
      {
         day: '',
         downloads: 100,
         versions: {
           '1.0.1': 10,
           '1.1.0': 80,
           ...
         }
      }
    ]
  }
}

Apologies if this is not the right place for the data request. Happy to recreate the issue elsewhere.

JakeChampion commented 8 years ago

Duplicate of https://github.com/npm/download-counts/issues/6 ?

mrjoelkemp commented 8 years ago

Whoops!