Search for npm Packages

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

Artifactory supports a variety of ways to search artifacts. For details, please refer to Searching for Artifacts_OLD.

Artifactory also supports npm search [search terms ...]. However, these packages may not be available immediately after being published for the following reasons:

  • Local Repositories: When publishing a package to a local repository, Artifactory calculates the search index asynchronously.

  • Virtual repositories: Since a virtual repository may contain local repositories, a newly published package may not be available immediately for the same reason.

In the case of remote repositories, a new package will only be found once Artifactory checks for it according to the Retrieval Cache Period setting.

Tip

Artifactory annotates each deployed or cached npm package with two properties: npm.name and npm.version.

You can use the Property Search to search for npm packages according to their name or version.