{"name":"@putout/cli-staged","version":"2.0.1","keywords":["putout","putout-plugin","plugin","gitignore"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/cli-staged@2.0.1","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/cli-staged#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"396c80d9a1f3bc321e1cd477e3004a2f1a0f1c71","tarball":"http://registry-npm.ywwl.com/@putout/cli-staged/download/@putout/cli-staged-2.0.1.tgz","fileCount":4,"integrity":"sha512-desKnIEuY+V7r4YMviAJEtM87EX1aahDmK6wfD5Rvmy9cGNH5zUesmdSrUhEit8kzbVn/yrNWkUcTAoZ7Q5dYA==","signatures":[{"sig":"MEUCIQD11mnoFxCcv2xzZzQOp/jCFIz8L8rVEp4K/mVhbQXlugIgQGtcjRbbTVJbiUFV0RVhlPwQRae6lo7szlzifGl/OgE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4716,"size":2175,"noattachment":false,"key":"/@putout/cli-staged/-/@putout/cli-staged-2.0.1.tgz"},"main":"lib/staged.js","type":"module","engines":{"node":">=20"},"gitHead":"c5aed5d9611b9c80f70404b32e2c765437ac00ce","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.4.2","description":"handle staged","directories":{},"_nodeVersion":"25.2.1","dependencies":{"fullstore":"^3.0.0","try-to-catch":"^3.0.1","@putout/git-status-porcelain":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^10.0.0-alpha.0","madrun":"^11.0.0","putout":"*","nodemon":"^3.0.1","supertape":"^11.0.3","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0"},"_npmOperationalInternal":{"tmp":"tmp/cli-staged_2.0.1_1766852240887_0.4737994448002327","host":"s3://npm-registry-packages-npm-production"},"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":1766852241042,"_cnpm_publish_time":1766852241042,"dist-tags":{"latest":"3.0.0"}}