{"_id":"@putout/operator-remove-files","_rev":"3-caa1e1aa70004ccbfee98615747e8ba4","name":"@putout/operator-remove-files","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@putout/operator-remove-files","version":"1.0.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.0.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":"3838cb052be5215663d98905753d4c5678029066","tarball":"https://registry.npmjs.org/@putout/operator-remove-files/-/operator-remove-files-1.0.0.tgz","fileCount":4,"integrity":"sha512-X8815Zs7QnyIB4QGUbxmZzpiWCv/wdhctNGJzKc2gc/etfY99vuNIENOgByMAsCoD9qjcZOVNaz6QwlqprWvIw==","signatures":[{"sig":"MEUCIQCzz9diO26N7rrF7yn0jQRxWFqew5Z65ZoXyBMDG2YEgAIgM4t4ujn5fbTwTOt3h5aaakgQFCSdf6DLz2xcIfh7rGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4330},"main":"lib/remove-files.js","type":"module","engines":{"node":">=22"},"gitHead":"fe7d380b69cfdda52eedc2954ec50fccd6b2d352","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":"24.11.1","dependencies":{"@putout/operator-filesystem":"^11.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^10.0.0","madrun":"^12.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":"^30.0.0","@putout/plugin-nodejs":"*"},"peerDependencies":{"putout":">=42"},"_npmOperationalInternal":{"tmp":"tmp/operator-remove-files_1.0.0_1771270117009_0.733324203243052","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"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":"https://registry.npmjs.org/@putout/operator-remove-files/-/operator-remove-files-1.1.0.tgz","fileCount":4,"integrity":"sha512-bvPRwrollXyVp9vQid7zJoOHMtUDUFnGDBnJxcMbTnedlLTtc+gsskYO1HNezD2bPJJW3PTGytjgk2p0lbkk4g==","signatures":[{"sig":"MEUCIQDNNSYMNZBcXCRLZ4l4ZoUlpT3xrMtHxHSdtyMQjqGcXQIgB81ui79aGmbdyu7NCRVawwd03Y3DYAeU2SlNIqkofmw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4320},"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"}},"1.2.0":{"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":"https://registry.npmjs.org/@putout/operator-remove-files/-/operator-remove-files-1.2.0.tgz","fileCount":5,"unpackedSize":4567,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHVXGLAFccCDVLq30YaPf50MYx8j5HQzZSMWUucFON+4AiA0Ag3SdhM0VAzNE6PDVP+F8O/a6AadY8cqEf1F/qbpBw=="}]},"_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}},"time":{"created":"2026-02-16T19:28:36.913Z","modified":"2026-07-01T22:17:41.119Z","1.0.0":"2026-02-16T19:28:37.158Z","1.1.0":"2026-02-18T21:54:14.496Z","1.2.0":"2026-07-01T22:17:40.991Z"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"license":"MIT","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-remove-files#readme","keywords":["putout","putout-operator","operator","remove-files"],"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"description":"🐊Putout operator adds ability to remove files to plugins","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"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","readmeFilename":"README.md"}