NB: Forum software won’t let me add more than 5 links, so I’m writing “npmjs dot com”. Also, this request is related to my other one at `npm install somePackage@latest` should be able to be told to only install GA releases.
As a consumer of packages on npmjs dot com, I’d like for npmjs dot com to display the latest GA version, if it exists, in the event that the absolute latest version indicates that it’s a prerelease, so that I know which version I should be using if I don’t want to depend on a prerelease.
Currently, npmjs.com only shows the absolute latest version, regardless of whether it’s a prerelease version or not.
This might require an enhancement to package.json to provide for a
versionStrategy entry with some enumerated values like
dotted-alphanumeric, etc, so that npmjs dot com can correctly interpret & display the version number(s).
For an example of how this might be displayed, see https://spring.io/projects/spring-framework#learn