Reader Hub: Find the Page for the Job in Front of You
This site is organised around one idea: shipping a reusable package well is a checklist, not a mystery. The hub below groups our pages by the task you are probably facing right now, so you can jump straight to the one that helps instead of reading everything in order.
I am about to publish for the first time
- The first-release reading path strings together the essential pages in a sensible order.
- Package naming conventions covers registry rules, scopes and names you will not regret.
- Testing the tarball before publishing shows how to check what actually ships.
- Choosing an SPDX licence identifier explains the one-line licence field every registry expects.
I need to get versioning right
- Semantic versioning explained is the plain-language summary of the semver.org specification.
- Semver edge cases takes on pre-releases, build metadata and the 0.x question.
- npm semver ranges is a practice unit on carets, tildes and what your users really install.
- Planning a major version migration helps when a breaking change is unavoidable.
I am shipping JavaScript or TypeScript
- The
exportsfield, step by step. - Building a dual ESM and CommonJS package and avoiding the dual-package hazard.
- Peer dependencies explained, for plugin and framework-adjacent libraries.
- Shipping type declarations so editors understand your API.
I am shipping Python or Go
- A self-study course on Python packaging, built around the Python Packaging User Guide.
- Setting up PyPI Trusted Publishing so CI can upload without long-lived tokens.
- Publishing a Go module, from
go.modto tagged versions.
I am maintaining something people already use
- Writing a deprecation policy before you need one.
- Writing a useful changelog entry, following the Keep a Changelog conventions.
- Answering user questions without letting them take over your week.
- Provenance attestations, for teams that care about supply-chain security.
I am worried about security
Supply-chain attacks on registries usually target the weakest link: a reused password, a token left in a CI log, or a name that looks almost like yours. Start with the companion notes on typosquatting to understand how look-alike names are abused, then read the written walkthrough of Sigstore signing for the other side of the problem: proving that what users install is what you built. Teams running many services will also want our primer on following security advisories, which explains where vulnerability data for packages is published and how to keep up without being flooded.
How to use this hub
Each page is written to stand alone, so there is no need to read sections in sequence. If a term trips you up, the glossary defines it in a sentence or two, and the resources page points to the official specifications and registry documentation we rely on. When a page and an official document disagree, trust the official document; registries change their rules, and we update our pages when we notice. If you spot something out of date, the contact page is the quickest way to tell us.