npm cache ls lodash

Category: Node.js & npm/yarn

npm cache ls lodash

List cached files for a package

Shows every cache entry npm holds for lodash, including tarballs and metadata, by matching the package name against the cache index. The cache lives under the directory reported by npm config get cache. Clean it with npm cache clean --force only if it is corrupted.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.