{"name":"@putout/cli-staged","version":"3.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"handle staged","homepage":"https://github.com/coderaiser/putout/tree/master/packages/cli-staged#readme","main":"lib/staged.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":{"@putout/git-status-porcelain":"^3.0.0","fullstore":"^4.0.0","try-to-catch":"^4.0.0"},"keywords":["putout","putout-plugin","plugin","gitignore"],"devDependencies":{"c8":"^10.0.0","eslint":"^10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0","madrun":"^12.0.0","nodemon":"^3.0.1","putout":"*","supertape":"^12.0.0"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/cli-staged@3.0.0","gitHead":"dae81e551c2b26ac4b8817937e027a650232b2cf","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"24.11.1","_npmVersion":"11.4.2","dist":{"integrity":"sha512-LgU6tsUz6ZqRphED6dMRqUZKH5Jk13MhUXJg3QasuWAC1O6sM4CK5LaunqQ+iYAbemc+pg7q5/Yhqh3gHzZZIw==","shasum":"6c02724c2ac6cf92148bf907dc5e313d59416e6a","tarball":"http://registry-npm.ywwl.com/@putout/cli-staged/download/@putout/cli-staged-3.0.0.tgz","fileCount":4,"unpackedSize":4720,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCN+l4T0lkLadtzIjrhsO4qM+Cq2ldQffyBJmzCjnyWdgIhAP8NZnKVzCsVLplGHkX7eyD46BPN2Fb4fJzq8qKe3EXO"}],"size":2173,"noattachment":false,"key":"/@putout/cli-staged/-/@putout/cli-staged-3.0.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-npm-production","tmp":"tmp/cli-staged_3.0.0_1768128540595_0.8284209137792748"},"_hasShrinkwrap":false,"readme":"# @putout/cli-staged [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/cli-staged.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/cli-staged \"npm\"\n\nGet list of staged by `git` files for 🐊[**Putout**](https://github.com/coderaiser/putout).\n\n## Install\n\n```\nnpm i @putout/cli-staged\n```\n\n## Examples\n\n```js\nimport {get, set} from '@putout/cli-staged';\nimport {findUp} from 'find-up';\nimport {tryToCatch} from 'try-to-catch';\n\nconst [error, names] = await tryToCatch(get, {\n    findUp,\n    isSupported: Boolean,\n});\n\nconst stagedNames = await set({\n    findUp,\n});\n```\n\n## License\n\nMIT\n","publish_time":1768128540742,"_cnpm_publish_time":1768128540742,"dist-tags":{"latest":"3.0.0"}}