Specify the Latest Version of npm Package

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

By default, the latest version of a package in an npm registry in Artifactory is the one with the highest SemVer version number. You can override this so that the most recently uploaded package is returned by Artifactory as the latest version. To do so, in Artifactory's system.properties file, add or set:

artifactory.npm.tag.tagLatestByPublish = true