Set Up Virtual npm Registry

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

A Virtual Repository defined in Artifactory aggregates packages from both local and remote repositories.

This allows you to access both locally hosted npm packages and remote proxied npm registries from a single URL defined for the virtual repository.

To define a virtual npm registry:

  1. In the Administration module, under Repositories | Repositories | Virtual, click New Virtual Repository.

  2. In the New Virtual Repositorydialog, set thePackage Type to npm.

  3. Select the underlying local and remote npm registries to include in the Basic settingstab.

    npm Virtual Repository.jpg
  4. Click Save & Finish to create the repository.