{"name":"@putout/cli-cache","version":"4.1.0","type":"commonjs","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":{"file-entry-cache":"^10.0.2","find-cache-dir":"^5.0.0","find-up":"^7.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":{"c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","mock-require":"^3.0.3","nodemon":"^3.0.1","putout":"*","supertape":"^10.0.0"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/cli-cache@4.1.0","gitHead":"d23d1a0c005fb53e8f78acade542a73cb7073e14","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-MjV7ely2lTYLSv656bPdnLSBJi+6CsJSB7Y0mK72NoY/8EM+ErfqsxU0VHEqzU6zZFzE04USJdnjyJwN1XIbHA==","shasum":"d7861d857f4dabbec16caabf69ede1ab21b2e5a1","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-4.1.0.tgz","fileCount":9,"unpackedSize":9582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAICWnbOtCS7GCdD1y8TYd4hDYC0oAeGLCDU3Gc4siVAAiBkgDeKUDkidgPIKmrJ3UsCv3qp8tm+73wihxXZ/OLW8g=="}],"size":3455,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-4.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli-cache_4.1.0_1734287106202_0.32415950776795555"},"_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\nCreate `cache` of places found by 🐊[Putout](https://github.com/coderaiser/putout) to `places.json`.\n\n## Install\n\n```\nnpm i @putout/cli-cache\n```\n\n## Example\n\n```js\nconst {createCache} = require('@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":1734287106397,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734287106397,"dist-tags":{"latest":"6.0.2"}}