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:
In the Administration module, under Repositories | Repositories | Virtual, click New Virtual Repository.
In the New Virtual Repositorydialog, set thePackage Type to npm.
Select the underlying local and remote npm registries to include in the Basic settingstab.
Click Save & Finish to create the repository.