5.0.1 • Published 9 months ago

@putout/cli-cache v5.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@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

3.2.0

1 year ago

5.0.1

9 months ago

5.0.0

9 months ago

4.4.0

9 months ago

4.1.0

11 months ago

4.0.0

11 months ago

4.3.0

9 months ago

4.2.0

9 months ago

3.1.0

1 year ago

3.0.1

2 years ago

3.0.0

2 years ago

2.4.0

2 years ago

2.3.0

2 years ago

2.1.1

3 years ago

2.1.0

3 years ago

1.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago