Gallery: Our Visual Explainers on Shipping Packages

Some packaging ideas click faster as pictures: a dependency tree with two copies of the same library, a release pipeline with a gate that blocks a bad tag, a version number split into its three parts. This gallery gathers the pages on this site built around diagrams, annotated figures and slide outlines. Each entry has a caption describing what the picture shows and who it helps.

Dependency structure

Dependency resolution on one page

Four strategies for picking versions, drawn as four small trees. Useful when a user reports "two copies of the framework" and you need to understand why.

An annotated npm dependency tree

A step-by-step look at how node_modules is laid out, with the nesting explained level by level.

Common dependency graph shapes

The diamond, the long chain and the plugin star, each described with the problems it tends to cause.

How Node.js finds a module

A flowchart from an import statement to the file that actually loads, via exports and node_modules lookup.

Releases and versions

The package release pipeline, drawn out

From merged commit to published artefact, with the automated checks along the way.

Release workflow diagrams

Several ways to structure a release, side by side: tag-driven, release-branch and monorepo fan-out.

Version lifecycle diagrams

Timelines showing a version from pre-release to deprecation, plus how support windows overlap.

Type declarations in annotated steps

Where TypeScript looks for types in a published package, walked through in annotated steps.

Security and outreach

Choosing where to start

If you are new to publishing, begin with the release pictures, because they show the order in which things happen: code is merged, checks run, a version is chosen, an artefact is built and only then does anything reach the registry. Once that sequence is clear, the dependency pictures make more sense, since they describe what happens on the other side, in your users' installs. Readers who already maintain a popular package often get the most from the security panels and the graph shapes, which explain why small utilities attract so much attention from attackers and why a single careless release can travel so far. Each visual links back to a written page with the full detail, so treat the gallery as a map rather than the territory.

How the visuals are made

Every visual on this site is described in text first. We write the caption and the alt-text description before thinking about layout, which keeps the pages useful for screen-reader users and for anyone reading on a small phone. Where a page shows a configuration file, the file is real text inside a code block rather than an image, so you can copy it. If you would like to reuse a diagram description in your own documentation, the media page explains how to cite our pages.