Hacker News new | ask | show | jobs
by quickthrower2 1187 days ago
How does the Docker story compare to NPM who are also freely hosting a bunch if stuff, heavily downloaded and relying on some paid users but mostly free. And NPM has “competing” repositorys too. Could the same happen with NPM where they need to charge?

I get that NPM packages are smaller than docker images typically.

4 comments

This is a great point but do note that it is quite easy to setup [1] a private npm registry as well. Most orgs actually do just that as you really do not want a production build failing if npm goes down.

Either that or you vendor in your dependencies.

[1] https://smalldata.tech/blog/2023/03/17/setup-a-private-npm-r...

NPM went the other way: get bought out by a big company with deep pockets and a strategic interest in owning the ecosystem.
Maybe because they are owned by Microsoft
„npm enterprise“

You can run an in-house npm repository with that sold by Npm Inc.

I don’t know how sustainable it is but that’s probably one of their cash cows.