{"name":"@putout/cli-cache","version":"2.4.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://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":"^7.0.0","find-cache-dir":"^5.0.0","find-up":"^6.2.0","imurmurhash":"^0.1.4","json-stable-stringify-without-jsonify":"^1.0.1","try-to-catch":"^3.0.0"},"keywords":["putout","cli","cli-putout","cache"],"devDependencies":{"c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^19.0.0","lerna":"^6.0.1","madrun":"^9.0.0","mock-require":"^3.0.3","nodemon":"^3.0.1","putout":"*","supertape":"^8.0.0"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"3cb42bca655accb10c3f11dd9cc970828cc29983","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/cli-cache@2.4.0","_nodeVersion":"20.5.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-oiU1lF/sI5KjW7NPrpzbke1vi3lUxmtRmw6Ece+YA5ZBEP7Uqo+wlrlpGPJ5eGmOvH9Lj2GgmzdZRawPL+tfCg==","shasum":"019f71a36478a73edb20c131e71b0415fd98a414","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-2.4.0.tgz","fileCount":9,"unpackedSize":9016,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE00wYLPNYkfhsnGlgTjrO6hl/zT3DHkS67BqPZzOLzHAiB+s9D678OPLlPLyeah3EnKl4B6mO/67EkdOsvTPrJBig=="}],"size":3328,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-2.4.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-cache_2.4.0_1694432508282_0.05904331447287503"},"_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).\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":1694432508450,"_cnpm_publish_time":1694432508450,"dist-tags":{"latest":"6.0.2"}}