vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
  • Package Registry
  • Named Registries
  • Dependencies
  • Manifest
  • Packuments
  • What's in a packument
  • Packument vs. Manifest
  • Minified packuments
  • Related concepts
  1. Concepts
  2. /
  3. Packuments

Packuments

A packument (package document) is the complete metadata document returned by a package registry for a given package. It contains all published versions, dist-tags, timestamps, maintainers, and other registry-level metadata.

When you query a registry for a package (e.g., vlt pkg react or npm view react), the registry returns a packument — not a single package manifest.

What's in a packument

A packument includes:

  • name — the package name
  • versions — a record mapping each version string to its full manifest
  • dist-tags — named aliases like latest, next, canary pointing to specific versions
  • time — publication timestamps for each version, plus created and modified for the package itself
  • maintainers — list of users with publish access
  • readme — the package's README content
  • contributors — contributors listed in package.json

Packument vs. Manifest

AspectPackumentManifest
ScopeEntire package (all versions)Single version
SourceRegistry responsepackage.json + registry metadata
Includesdist-tags, time, maintainers, all versionsname, version, dependencies, etc.
Used forVersion resolution, dist-tag lookupInstallation, runtime

When you install a package, vlt fetches the packument, resolves the requested specifier (version, range, or dist-tag) to a specific version, then fetches that version's manifest and tarball.

Minified packuments

Registries may return a minified packument (npm's abbreviated "corgi" format) — containing only install-critical fields — to reduce payload size. vlt can parse both full and minified packuments, but always requests the full document (application/json). Abbreviated responses omit license and other metadata that is persisted onto graph manifests and queried later; the registry-client cache also cannot yet distinguish representations of the same URL.

Related concepts

  • Package Registry — the server that stores and serves packuments
  • Manifest — the per-version package metadata
  • Dependencies — how versions are resolved from packuments

PreviousManifestNextQuick Start

On this page

  • What's in a packument
  • Packument vs. Manifest
  • Minified packuments
  • Related concepts
Edit this page

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now