@putout/cli-cache
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