npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Feature request: Usage stats split by version

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?


Copied from kind of gives a breakdown per version.

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

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: