Socket
Socket
Sign inDemoInstall

@putout/cli-cache

Package Overview
Dependencies
18
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @putout/cli-cache

The cache of Places found by 🐊Putout


Version published
Weekly downloads
5K
increased by1.45%
Maintainers
1
Install size
239 kB
Created
Weekly downloads
 

Readme

Source

@putout/cli-cache NPM version

Create cache of places found by 🐊Putout.

Install

npm i @putout/cli-cache

Example

const {createCache} = require('@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

FAQs

Last updated on 28 Dec 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc