Hacker News new | ask | show | jobs
by dijit 2310 days ago
I was (incidentally) just looking for a way of running a npm repository. Apparently it is not so simple as running a web server with a manifest (which is the case for basically every other package manager out there). Is there a reason for that? Is npms approach somehow better?

The thing with using web technology for distribution is that it’s easily accessible and, crucially, that it’s cachable in-line.

2 comments

NPM started off as a CouchDB app, and you used to be to keep a local mirror of the full repository by running a copy of CouchDB and setting up one-way replication (not sure if this is still possible).
At my last job we hosted both Maven and NPM repo in Sonatype Nexus. I think artifactory could do this too i think.