We are evaluating Nexus vs Artifactory as the artifact store solution. They can cache remote Maven repositories pretty well. Can either of them cache RPM packages and NPM modules?
Support for private on-premise NPM registry was just added to Artifactory in version 3.2.0 http://www.jfrog.com/confluence/display/RTF/Npm+Repositories
While both of them have support for hosted yum repositories for rpm packages I think neither of them supports proxying other repositories.
It is however a feature request that I have seen before for Nexus. Yum repositories on Nexus can be wrapped around a Maven repo though so you can have a Maven repo with rpm packages proxied and then exposed as a yum repo.
NPM is very different package format (using an internal database) and has been requested by users of Nexus. You could even implement support for it yourself in the shape of a Nexus plugin. The 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 2.10. More details are in the blog post about it and the documentation is available as well.
Nexus (2.10 and later) can proxy NPM:
http://books.sonatype.com/nexus-book/2.10/reference/npm.html
However, there is a problem in that 2nd, 3rd level dependencies ignore the "registry" config setting, and proceed to download from the default registry at https://registry.npmjs.org. this is a problem with NPM, rather than Nexus.
Artifactory has a superb RPM support. NPM is in the pipe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With