New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@putout/cli-cache

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/cli-cache

The cache of Places found by 🐊Putout

5.0.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

@putout/cli-cache NPM version

Store to cache information about files processed by 🐊Putout to nearest node_modules/.cache directory.

Install

npm i @putout/cli-cache

Example

import {createCache} from '@putout/cli-cache';

const fileCache = await createCache({
    version,
    cache,
    fresh,
});

const places = fileCache.getPlaces(name);

fileCache.canUseCache(name, options);
fileCache.removeEntry(name);
fileCache.setInfo(name, places, options);
fileCache.reconcile();

License

MIT

Keywords

putout

FAQs

Package last updated on 18 Feb 2025

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