Feature request: Usage stats split by version


(Rhys Evans) #1

What’s the feature?

Provide the ability to access stats on package use split by package version

What problem is the feature intended to solve?

As a package owner, I’d like to know what the usage is like for various versions. e.g. I’m working on v6, have released a beta, and want to be sure a decent number of people are battle testing it before I release v6 proper

Is the absence of this feature blocking you or your team? If so, how?

No, but it’d give me the ability to release with more confidence

Is this feature similar to an existing feature in another tool?

It’s not unusual for projects to offer granular usage stats, though I can’t think of any examples off the top of my head

Is this a feature you’re prepared to implement, with support from the npm CLI team?

Yes.

Copied from https://github.com/npm/registry/issues/266


(Steven) #2

libraries.io kind of gives a breakdown per version.

For example, marked seems to have most users on v0.3.6


(Rhys Evans) #3

That’s really neat - thanks for sharing. I wonder how they do it?

However, it doesn’t quite fulfil the needs of the issue because:

  • it appears to not update very often (e.g. missing some releases I made 2 days ago)
  • it bundles many things into ‘other’. Beta releases woudl probably fall in here, so would get no information on betas