cacheinfo
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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

/cacheinfo/

    Package Sidebar

    Install

    npm i cacheinfo

    Weekly Downloads

    0

    Version

    1.0.6

    License

    ISC

    Unpacked Size

    9.68 kB

    Total Files

    17

    Last publish

    Collaborators

    • nickmccurdy