pnpm cache view

警告

此為實驗性命令!

Views information from the specified package's cache.

pnpm cache view <pkg>

The output is a JSON object keyed by registry URL. Each entry lists cachedVersions (versions present in the store), nonCachedVersions, cachedAt, and distTags. When the cache directory does not exist, {} is printed.

pnpm cache view react