Although both of them have support for hosted yum repositories for rpm packages, I think that neither of them supports proxying other repositories.
However, this is a feature that I saw before for the Nexus. Neumus Yum repositories can be wrapped around a Maven repository, although you can have a Maven repository with rpm packages and then exposed as a yum repository.
NPM is a completely different package format (using an internal database) and was requested by Nexus users. You can even implement support for yourself as a Nexus plugin. YUM support for Nexus was originally created as a community contribution.
Update: NPM support is available as part of Nexus Open Source and Professional since the release of version 2.10. More information is available on the blog about this , and documentation is also available.
source share