{"name":"@putout/operator-remove-files","version":"1.1.0","keywords":["putout","putout-operator","operator","remove-files"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/operator-remove-files@1.1.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-remove-files#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"cd9188251c56d18a5f95e4c8921fff22c86acb66","tarball":"http://registry-npm.ywwl.com/@putout/operator-remove-files/download/@putout/operator-remove-files-1.1.0.tgz","fileCount":4,"integrity":"sha512-bvPRwrollXyVp9vQid7zJoOHMtUDUFnGDBnJxcMbTnedlLTtc+gsskYO1HNezD2bPJJW3PTGytjgk2p0lbkk4g==","signatures":[{"sig":"MEUCIQDNNSYMNZBcXCRLZ4l4ZoUlpT3xrMtHxHSdtyMQjqGcXQIgB81ui79aGmbdyu7NCRVawwd03Y3DYAeU2SlNIqkofmw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4320,"size":2086,"noattachment":false,"key":"/@putout/operator-remove-files/-/@putout/operator-remove-files-1.1.0.tgz"},"main":"lib/remove-files.js","type":"module","engines":{"node":">=22"},"gitHead":"a5787b24452ec7099ce742adacb3a1beff994d2a","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":"🐊Putout operator adds ability to remove files to plugins","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@putout/operator-filesystem":"^11.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^10.0.0","madrun":"^13.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0","@putout/test":"^15.0.0","@putout/eslint-flat":"^4.0.0","eslint-plugin-putout":"^31.0.0","@putout/plugin-nodejs":"*"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/operator-remove-files_1.1.0_1771451654332_0.10708167001963154","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/operator-remove-files [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/operator-remove-files.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/operator-remove-files \"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) operator adds ability to create plugins that removes files.\n\n## Install\n\n```\nnpm i putout @putout/operator-remove-files\n```\n\n## API\n\n```js\nimport {operator} from 'putout';\n\nconst {removeFiles} = operator;\n\nexport const {\n    report,\n    fix,\n    scan,\n} = removeFiles(['.DS_Store']);\n```\n\n### `dismiss`\n\nAny rule that uses this operator can pass `dismiss` to avoid removing files:\n\n```json\n{\n    \"rules\": {\n        \"putout/remove-files\": [\"on\", {\n            \"dismiss\": [\".DS_Store\"]\n        }]\n    }\n}\n```\n\n## License\n\nMIT\n","publish_time":1771451654496,"_cnpm_publish_time":1771451654496,"dist-tags":{"latest":"1.2.0"}}