Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

cacheinfo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheinfo

Info about your JavaScript package manager cache sizes

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

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

Keywords

info

FAQs

Package last updated on 04 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts