{"name":"@putout/cli-cache","version":"6.0.0","keywords":["putout","cli","cli-putout","cache"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/cli-cache@6.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/cli-cache#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"5aa0df248bb9e0f267e4bf95c869b0d71f602e8e","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-6.0.0.tgz","fileCount":10,"integrity":"sha512-LbKljrt8m/mfs055fyy70XhtIOune/cbd7njYr/yqnjCyCVZJrM3WGqr/xVieA6Fvbo3G4LULZVQI+5U2tcOAQ==","signatures":[{"sig":"MEUCIQChhqizkn03WWG8JH9wcl0F2fnjsk0R51km3oCNIHSdowIga9DyjnKPeoFvfMmNlso1d/+P9YP5ZG+F8u/Xbg/2Wsw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10743,"size":3777,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-6.0.0.tgz"},"main":"lib/cache.js","type":"module","engines":{"node":">=20"},"gitHead":"6b7e140d5706e9c73038a1f80cee4f7288cc9ad9","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.4.2","description":"The cache of Places found by 🐊Putout","directories":{},"_nodeVersion":"24.8.0","dependencies":{"escalade":"^3.2.0","try-catch":"^3.0.1","imurmurhash":"^0.1.4","try-to-catch":"^3.0.0","find-cache-dir":"^5.0.0","file-entry-cache":"^11.1.0","json-stable-stringify-without-jsonify":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^11.0.0","putout":"*","nodemon":"^3.0.1","supertape":"^11.0.3","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^3.0.0","eslint-plugin-putout":"^28.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-cache_6.0.0_1760701410214_0.375283092059276","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/cli-cache [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/cli-cache.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/cli-cache \"npm\"\n\nStore to `cache` information about files processed by 🐊[Putout](https://github.com/coderaiser/putout) to nearest `node_modules/.cache` directory.\n\n## Install\n\n```\nnpm i @putout/cli-cache\n```\n\n## Example\n\n```js\nimport {createCache} from '@putout/cli-cache';\n\nconst fileCache = await createCache({\n    version,\n    cache,\n    fresh,\n});\n\nconst places = fileCache.getPlaces(name);\n\nfileCache.canUseCache(name, options);\nfileCache.removeEntry(name);\nfileCache.setInfo(name, places, options);\nfileCache.reconcile();\n```\n\n## License\n\nMIT\n","publish_time":1760701410437,"_cnpm_publish_time":1760701410437,"dist-tags":{"latest":"6.0.2"}}