aube view
- Usage:
aube view [FLAGS] <PACKAGE> [FIELD] - Aliases:
info,show
Print package metadata from the registry
Arguments
<PACKAGE>
Package to view, optionally with a version or dist-tag.
Examples: lodash, [email protected], 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.
--fetch-retries <N>
Number of retry attempts for failed registry fetches.
Overrides fetchRetries / fetch-retries from .npmrc / aube-workspace.yaml when set. Pair with --fetch-timeout to fail fast in scripted test runs.
--fetch-retry-factor <N>
Exponential backoff factor between retry attempts.
Overrides fetchRetryFactor / fetch-retry-factor from .npmrc / aube-workspace.yaml when set. Integer-only — the underlying FetchPolicy.retry_factor is u32. Fractional values like 1.5 are rejected by clap.
--fetch-retry-maxtimeout <MS>
Upper bound (ms) on the computed retry backoff.
Overrides fetchRetryMaxtimeout / fetch-retry-maxtimeout from .npmrc / aube-workspace.yaml when set.
--fetch-retry-mintimeout <MS>
Lower bound (ms) on the computed retry backoff.
Overrides fetchRetryMintimeout / fetch-retry-mintimeout from .npmrc / aube-workspace.yaml when set.
--fetch-timeout <MS>
Per-request HTTP timeout in milliseconds.
Overrides fetchTimeout / fetch-timeout from .npmrc / aube-workspace.yaml when set. Applied via reqwest's .timeout() so it covers headers + 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 react [email protected] | 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 [email protected]
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