Who Runs the Package Registries, and How They Differ

If you publish code for others to install, you are a tenant of a registry. Each one has an operator, a governance model, a set of publishing rules and a different idea of what a "package" is. Here is a field overview of the main ones, written for authors deciding where and how to publish.

The major public registries

RegistryEcosystemOperatorNotable trait
npm registryJavaScript / TypeScriptnpm, Inc., part of GitHub (Microsoft)Scoped names, provenance statements, strict rules on unpublishing
PyPIPythonPython Software FoundationTrusted Publishing via OIDC, name normalisation, yanking under PEP 592
crates.ioRustThe Rust projectGitHub-based accounts, yanking rather than deletion
Go module proxy and checksum databaseGoThe Go team at GoogleNo upload step: modules are fetched from version control and cached
Maven CentralJava / JVMSonatypeNamespace verification tied to domain or repository ownership; releases are immutable
RubyGems.orgRubyRuby CentralLong-standing gem host with MFA requirements for popular gems

Two models: upload versus fetch

Most registries follow an upload model: you build an artifact and push it, and the registry stores that exact file. Go is the notable exception. You tag a commit in your repository, and the first time anyone requests that version the public proxy fetches and caches it, while the checksum database records its hash so the content cannot silently change later. The consequence for authors is that in Go your tag is the release, and re-tagging is effectively impossible once a version has been fetched; the fix for a bad version is a retract directive in go.mod, described in the Go Modules Reference.

Supporting players

Around the registries sits a layer of organisations that shape practice without hosting packages:

Open questions in the field

Several debates are live across registries. How far should registries go in verifying who publishes a package, and should provenance become mandatory for popular projects? Who pays for the infrastructure, given that most registries are run by foundations or companies offering a free service? How should a registry handle a maintainer who deliberately sabotages their own package? And how should registries respond to regulation such as the EU Cyber Resilience Act, which brings software supply-chain obligations into law? None of these have settled answers, and policies change; check each registry's own documentation before relying on a rule. Our registry policy primer explains how to follow those changes.