{"name":"@putout/cli-cache","version":"5.0.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"The cache of Places found by 🐊Putout","homepage":"https://github.com/coderaiser/putout/tree/master/packages/cli-cache#readme","main":"lib/cache.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{"escalade":"^3.2.0","file-entry-cache":"^10.0.2","find-cache-dir":"^5.0.0","imurmurhash":"^0.1.4","json-stable-stringify-without-jsonify":"^1.0.1","try-catch":"^3.0.1","try-to-catch":"^3.0.0"},"keywords":["putout","cli","cli-putout","cache"],"devDependencies":{"@putout/eslint-flat":"^2.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^24.0.0","madrun":"^10.0.0","nodemon":"^3.0.1","putout":"*","supertape":"^10.0.0"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/cli-cache@5.0.1","gitHead":"1f902d2cd50b2f0e9578240746ab788942abacda","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"20.18.1","_npmVersion":"11.1.0","dist":{"integrity":"sha512-HPou7SWvXWtJbBwxqyBCZBjp0uc18wyqa+RdQwUkucxMVlSAZ/1p6oNGDZ/cYKogo8Vx/+E2OLhKpYvzcOqOwQ==","shasum":"fb50de2a6909993c578587cb1e0e75314ba20e0a","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-5.0.1.tgz","fileCount":10,"unpackedSize":10743,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIG6PeHuL9cZy5IiSDIo5Ly/a8fCwY8gBtfKuCKyjXdk5AiEA30lhpcl+irh1pgeGe/w57JNXVGHcFaaysJbgpXU6PHo="}],"size":3774,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-5.0.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli-cache_5.0.1_1739913079314_0.047619076143364136"},"_hasShrinkwrap":false,"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":1739913079479,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1739913079479,"dist-tags":{"latest":"6.0.2"}}