{"name":"@putout/operator-remove-files","version":"1.2.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to remove files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-remove-files#readme","main":"lib/remove-files.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"wisdom":"madrun wisdom","test":"madrun test","test:dts":"madrun test:dts","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/operator-filesystem":"^11.0.0","@putout/types":"^1.2.0"},"keywords":["putout","putout-operator","operator","remove-files"],"devDependencies":{"@putout/eslint-flat":"^4.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","check-dts":"^1.0.0","eslint":"^10.0.0","eslint-plugin-putout":"^31.0.0","madrun":"^13.0.0","montag":"^2.0.0","nodemon":"^3.0.1","superc8":"^12.0.0","supertape":"^13.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=42"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-remove-files@1.2.0","gitHead":"b91049e6a4a7d9aacf8854edb97436ccfd0d06f1","types":"./lib/remove-files.d.ts","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"26.4.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-MR/x7oOig/jzoPqMEDruA1Uho+ygqJPttfYgP8zhEfW6A7Z8Z+OIKDysTNwolSiLLwXcFt8auksJn5r1cUdtkw==","shasum":"be574cc8c6958d06eae8302a75f641afc7693c34","tarball":"http://registry-npm.ywwl.com/@putout/operator-remove-files/download/@putout/operator-remove-files-1.2.0.tgz","fileCount":5,"unpackedSize":4567,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHVXGLAFccCDVLq30YaPf50MYx8j5HQzZSMWUucFON+4AiA0Ag3SdhM0VAzNE6PDVP+F8O/a6AadY8cqEf1F/qbpBw=="}],"size":2202,"noattachment":false,"key":"/@putout/operator-remove-files/-/@putout/operator-remove-files-1.2.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/operator-remove-files_1.2.0_1782944260874_0.6809850602502887"},"_hasShrinkwrap":false,"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":1782944260991,"_cnpm_publish_time":1782944260991,"dist-tags":{"latest":"1.2.0"}}