cacheinfo
v1.0.6
Published
Info about your JavaScript package manager cache sizes
Maintainers
Readme
cacheinfo
Info about your JavaScript package manager cache sizes
Usage
CLI
npx cacheinfonpm ... MB
pnpm ... MB
yarn ... MB
berry ... MBAPI
cacheinfo is a function that returns a ReadableStream<[string, number]> with the name and size (in bytes) of each package manager cache
import cacheinfo from "cacheinfo"
for await (const [name, size] of cacheinfo()) {
// ...
}