{"name":"@putout/cli-cache","version":"4.4.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.4.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":"e7112f6ef55d9be68f51f3cfc771dc8f2a9b5f11","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-4.4.0.tgz","fileCount":11,"integrity":"sha512-s3Ou/KomCqQ3O5YrCFVcQ8G2uG4skOwptotYZ4GLCg6CYBBtfvbDcpRiaP9S0A3V+C8pZ5nJdFkjJrWrwYp+Zw==","signatures":[{"sig":"MEUCIQCtUuvRGvhGk69bGLt7RXsWXDX2w5pMi1PCg/JIjEzDrwIgR7d7omcpa3XvAr8r394bc82aoMwAQ2GHekc/IzyMkqY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11075,"size":3895,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-4.4.0.tgz"},"main":"lib/cache.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"ee3f97411077bebb1520684243dd0aeb44d03583","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":{"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.4.0_1739903764583_0.4096955567689513","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":1739903764731,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1739903764731,"dist-tags":{"latest":"6.0.2"}}