{"name":"@putout/cli-cache","version":"2.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"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":"^6.0.1","find-cache-dir":"^3.3.2","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":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^15.0.0","lerna":"^5.0.0","madrun":"^9.0.0","mock-require":"^3.0.3","nodemon":"^2.0.1","putout":"*","supertape":"^7.0.0"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"780b0f27353df67ad8ea3451a7a5a1038c6e5139","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/cli-cache@2.1.0","_nodeVersion":"18.6.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-UfdjC9mDIg/VKJVSsLitFOoqBCvQeH9JHBc9ibHdQMSEBBpqwoQpzglPV09brwX1GhXsMfTdRHUiTLRuVCXfzg==","shasum":"4900c32b0bf1aabae4ba683f5adf0cfcc1cc46ac","tarball":"http://registry-npm.ywwl.com/@putout/cli-cache/download/@putout/cli-cache-2.1.0.tgz","fileCount":8,"unpackedSize":8801,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApCihV2cHo4nyO4g0xS7Rkjqd3lXMnJLbcij7V051RuAiEAk/Deu/bFHZMWRrW3O+y81f1mlnLUWnjIbMlov41fbz4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi18seACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeIw//a7XmKOnDdzbX44aqOQQZzI5Y8DOunQpMmB6WWYeWLVULPYeb\r\n/6ldNAdtOEwyz+ZpshMF3zu8/ai7mdnY+RqJ8aEBcmmizSGp4MCKHe8iM+pP\r\nmZG9/fROPKMyHa1GCYP4UGHVNOdTxdYKWffoF6v+90sZQsofffnRzpncnMKI\r\nvTo5fGYZkF1HzEWKm+bozVZrLj05MTKLIeFOhZYElti3ihaPp69FYXXJEgmt\r\nPzXA14Bv50jw90lIASz8ohSQlBoO8+XzpfvG2xUVg1TyH3x8XgVOygLY3c5t\r\nszAkVKMPFQxtpsEGZgPZVcHnqhmbbfEO/XmVLnlQOapv8aMGodQZPIqdfzis\r\nWLQ0LyqQ2IB4O6hXnU59W9drQEUQ/a9VafWU1qbfWBgo7ZdFf8oh44n4Leqq\r\njmzW1r8/oMoSr64RzAByzW7bTSNsql9lAxafR6lTUYh7oZ2NPlKspA7soObJ\r\nf5pApWlCu3hkQUn2h/odp6mlcJINDsGxlgKoUluMqsQglSNLUfmWP42+WHrM\r\nm/LLRRHsfe2vqHHDMnsaTdvfV1f2Q4+1Xh8QwppN4u6jSac09YDtVB9IxbkE\r\nKGtSsmzswCKIY8Ec7GmK4ExtW2FWM6fOqsiXo9JyyvgL+NezGwckNJOYtt7+\r\nIskIylGjRFPLEhsXI2nZRtG5sXsdaQ/JbwY=\r\n=6Kse\r\n-----END PGP SIGNATURE-----\r\n","size":3230,"noattachment":false,"key":"/@putout/cli-cache/-/@putout/cli-cache-2.1.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.1.0_1658309406019_0.6904912748587877"},"_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":1658309406184,"_cnpm_publish_time":1658309406184,"dist-tags":{"latest":"6.0.2"}}