{"name":"@putout/cli-cache","version":"4.3.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@4.3.0","homepage":"https://github.com/coderaiser/putout/tree/master/packages/cli-cache#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"a80dc938c0546ed1908338c6934308c4584ded39","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-4.3.0.tgz","fileCount":11,"integrity":"sha512-UyjPB/W04uMsr8hTvraj4YcJmtOefSLiF2sSwxbDgaUW5/Ek9yVdm6A2HETyci5/vAcZuL6Xo1b5hR5CIKaWvw==","signatures":[{"sig":"MEUCIQDkD/HXUX7UZlySBnC4E93Tmjk9hCjOQsdev+LqGSmJ4gIgK330P8fCwNwJDRKCKTh5leEx2jwTNT1GBHfbknfLIVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11236,"size":3894,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-4.3.0.tgz"},"main":"lib/cache.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"0aedf09e5416d873712ae083ed9f7f14e4d8c3f4","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.1.0","description":"The cache of Places found by 🐊Putout","directories":{},"_nodeVersion":"22.14.0","dependencies":{"find-up":"^7.0.0","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":"^10.0.2","json-stable-stringify-without-jsonify":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","lerna":"^6.0.1","eslint":"^9.0.0","madrun":"^10.0.0","putout":"*","nodemon":"^3.0.1","supertape":"^10.0.0","mock-require":"^3.0.3","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^2.0.0","eslint-plugin-putout":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-cache_4.3.0_1739894836917_0.06149741068775194","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":1739894837347,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1739894837347,"dist-tags":{"latest":"6.0.2"}}