@putout/cli-cache
v4.1.0
Published
The cache of Places found by šPutout
Downloads
31,689
Readme
@putout/cli-cache
Create cache
of places found by šPutout to places.json
.
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