1.0.6 • Published 2 years ago

cacheinfo v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

cacheinfo

Info about your JavaScript package manager cache sizes

Usage

CLI

npx cacheinfo
npm ... MB
pnpm ... MB
yarn ... MB
berry ... MB

API

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()) {
  // ...
}
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago