aube view
- Usage:
aube view [FLAGS] [PACKAGE] [FIELD] - Aliases:
info,show,v - Effect: read-only
Print package metadata from the registry
Arguments
[PACKAGE]— Package to view, optionally with a version or dist-tag.Examples:
lodash,lodash@4.17.21,react@next,express@^4.[FIELD]— Dotted path into the version metadata to print.Examples:
version,dependencies,dist.tarball,maintainers.0.name. When omitted, prints a formatted summary.
Flags
--json— Print the full JSON of the selected version instead of the summary.Mutually exclusive with
field.-h --help— Print help
Network
--fetch-retries <N>— Number of retry attempts for failed registry fetches.Overrides
fetchRetries/fetch-retriesfrom.npmrc/aube-workspace.yamlwhen set. Pair with--fetch-timeoutto fail fast in scripted test runs.--fetch-retry-factor <N>— Exponential backoff factor between retry attempts.Overrides
fetchRetryFactor/fetch-retry-factorfrom.npmrc/aube-workspace.yamlwhen set. Integer-only; fractional values like1.5are rejected.--fetch-retry-maxtimeout <MS>— Upper bound (ms) on the computed retry backoff.Overrides
fetchRetryMaxtimeout/fetch-retry-maxtimeoutfrom.npmrc/aube-workspace.yamlwhen set.--fetch-retry-mintimeout <MS>— Lower bound (ms) on the computed retry backoff.Overrides
fetchRetryMintimeout/fetch-retry-mintimeoutfrom.npmrc/aube-workspace.yamlwhen set.--fetch-timeout <MS>— Per-request HTTP timeout in milliseconds.Overrides
fetchTimeout/fetch-timeoutfrom.npmrc/aube-workspace.yamlwhen set. Covers the whole request (headers and body together).--registry <URL>— Override the default registry URL for this invocation.Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.
Examples:
$ aube view my-package@1.0.0 | MIT | deps: 0 | versions: 1
$ aube view react react@18.3.1 | MIT | deps: 1 | versions: 2037 React is a JavaScript library for building user interfaces. https://react.dev/
keywords: react
dist .tarball: https://registry.npmjs.org/react/-/react-18.3.1.tgz .shasum: a0b2eb79... .integrity: sha512-...
A specific version
$ aube view react@17.0.2
A single field
$ aube view react version 18.3.1
$ aube view react dist.tarball https://registry.npmjs.org/react/-/react-18.3.1.tgz
All versions ever published
$ aube view react versions --json
Raw JSON for the resolved version
$ aube view react@next --json