{"_id":"@putout/operator-rename-files","_rev":"4159732","name":"@putout/operator-rename-files","description":"🐊Putout operator adds ability to rename files to plugins","dist-tags":{"latest":"6.2.1"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:36:10.000Z","created":"2024-04-07T18:29:54.999Z","6.2.1":"2026-02-06T19:28:42.939Z","6.2.0":"2026-01-14T18:29:55.411Z","6.1.2":"2026-01-14T17:51:43.828Z","6.1.1":"2026-01-14T17:22:06.108Z","6.1.0":"2026-01-14T17:05:42.608Z","6.0.3":"2026-01-14T13:05:34.881Z","6.0.2":"2026-01-05T15:59:51.579Z","6.0.1":"2026-01-05T11:41:03.531Z","6.0.0":"2025-11-28T16:04:52.162Z","5.0.0":"2025-06-01T09:04:21.586Z","4.0.0":"2025-04-16T21:33:48.046Z","3.0.0":"2025-03-21T22:48:23.558Z","2.0.1":"2025-02-09T18:31:35.695Z","2.0.0":"2024-11-11T15:36:54.166Z","1.0.0":"2024-04-07T18:29:54.999Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"versions":{"6.2.1":{"name":"@putout/operator-rename-files","version":"6.2.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^11.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^4.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.2.1","gitHead":"13bdf05af20ce76206229cb5df27af6a2772fb81","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.6.0","_npmVersion":"11.4.2","dist":{"shasum":"9859b9e7a1a0aed71ee96f5cb8b918d9d2206b28","size":3081,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.2.1.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-rename-files_6.2.1_1770406122759_0.5504998369635203"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-06T19:28:42.939Z","publish_time":1770406122939,"_source_registry_name":"default","_cnpm_publish_time":1770406122939},"6.2.0":{"name":"@putout/operator-rename-files","version":"6.2.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.2.0","gitHead":"bc3f2ccc83ab1f31d2eb3ec44d93e85fee651852","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"03fc18b1fef37940c966b1064262560f3d03fa5c","size":3080,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.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-rename-files_6.2.0_1768415395251_0.34707618943479335"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T18:29:55.411Z","publish_time":1768415395411,"_source_registry_name":"default","_cnpm_publish_time":1768415395411},"6.1.2":{"name":"@putout/operator-rename-files","version":"6.1.2","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.1.2","gitHead":"fea0656b909a0a147507e7e783d0274e3bc4e47a","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"e4cfdfd0567ea5d4ee94eb06a5601a861046b7a3","size":2865,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.1.2.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-rename-files_6.1.2_1768413103666_0.7901500813871714"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T17:51:43.828Z","publish_time":1768413103828,"_source_registry_name":"default","_cnpm_publish_time":1768413103828},"6.1.1":{"name":"@putout/operator-rename-files","version":"6.1.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.1.1","gitHead":"8ef43c0cc67841aa15439ece0175787c8e9af298","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"5cccb878c9d66a603b8ac406be71a67feb4a477a","size":2862,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.1.1.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-rename-files_6.1.1_1768411325959_0.6745734961719385"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T17:22:06.108Z","publish_time":1768411326108,"_source_registry_name":"default","_cnpm_publish_time":1768411326108},"6.1.0":{"name":"@putout/operator-rename-files","version":"6.1.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.1.0","gitHead":"0719c837c5424656a29b03a6df10a314fb9c2f9d","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"4c9741b6bf288d0f6e88d217a3483dc483532d84","size":2854,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.1.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-rename-files_6.1.0_1768410342434_0.88998452237109"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T17:05:42.608Z","publish_time":1768410342608,"_source_registry_name":"default","_cnpm_publish_time":1768410342608},"6.0.3":{"name":"@putout/operator-rename-files","version":"6.0.3","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.0.3","gitHead":"79c1db977843d76e476f395a192136c545b195f1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"f70c84338ba73dfed88e04d3e9c5fabcaf4f0627","size":2403,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.0.3.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-rename-files_6.0.3_1768395934725_0.43382010567630336"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-14T13:05:34.881Z","publish_time":1768395934881,"_source_registry_name":"default","_cnpm_publish_time":1768395934881},"6.0.2":{"name":"@putout/operator-rename-files","version":"6.0.2","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^3.0.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.0.2","gitHead":"a498aee99f5a051943012f6c89ca77f6d7e66cfc","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"c01ef3d22b3354d982aa64a0bfc987b93882f48b","size":2405,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.0.2.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-rename-files_6.0.2_1767628791434_0.47109306881189794"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-05T15:59:51.579Z","publish_time":1767628791579,"_source_registry_name":"default","_cnpm_publish_time":1767628791579},"6.0.1":{"name":"@putout/operator-rename-files","version":"6.0.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^15.0.0","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","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^12.0.0","try-catch":"^4.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.0.1","gitHead":"5ffa9c7794702d7378110f29a6fd88834fff43db","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"ad1377e5fd6935de696418911bce73d8ff5511a0","size":2411,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.0.1.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-rename-files_6.0.1_1767613263398_0.7986519042816353"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-05T11:41:03.531Z","publish_time":1767613263531,"_source_registry_name":"default","_cnpm_publish_time":1767613263531},"6.0.0":{"name":"@putout/operator-rename-files","version":"6.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^10.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^14.0.0","c8":"^10.0.0","eslint":"v10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^28.0.0","madrun":"^11.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^11.0.3","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@6.0.0","gitHead":"bb475342170e4004c013b2850b27339c26ae0343","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.2.1","_npmVersion":"11.4.2","dist":{"shasum":"4bc647a93997a0644982bb5ed6534654108b74fa","size":2412,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-6.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/operator-rename-files_6.0.0_1764345891846_0.14132517758267404"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-28T16:04:52.162Z","publish_time":1764345892162,"_source_registry_name":"default","_cnpm_publish_time":1764345892162},"5.0.0":{"name":"@putout/operator-rename-files","version":"5.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^9.0.1"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^27.0.0","madrun":"^11.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^11.0.3","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@5.0.0","gitHead":"4de9176724f13c689e9f8073c45bdf727898a817","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"24.1.0","_npmVersion":"11.1.0","dist":{"shasum":"b89726dd3619e5a1ccde89ef42dbd6190a52a59f","size":2402,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-5.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/operator-rename-files_5.0.0_1748768661390_0.29136926202534785"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-01T09:04:21.586Z","publish_time":1748768661586,"_source_registry_name":"default","_cnpm_publish_time":1748768661586},"4.0.0":{"name":"@putout/operator-rename-files","version":"4.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^8.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^26.0.0","madrun":"^11.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^11.0.3","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@4.0.0","gitHead":"7bec91be3a6156051a2556d3b96c941e4306d307","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"shasum":"0beb6115148541a4601c6bed4089c485e43ec65b","size":2401,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-4.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/operator-rename-files_4.0.0_1744839227833_0.6827435911647555"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-16T21:33:48.046Z","publish_time":1744839228046,"_source_registry_name":"default","_cnpm_publish_time":1744839228046},"3.0.0":{"name":"@putout/operator-rename-files","version":"3.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^7.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^12.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^26.0.0","madrun":"^11.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^10.0.0","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=39"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@3.0.0","gitHead":"cc282630041813c46d5a59da6f10c3437d48bf84","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"shasum":"6be6848bd5dc5e7cb1111bf6f1acf807d65e82ec","size":2400,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-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/operator-rename-files_3.0.0_1742597303400_0.32840401084817117"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-21T22:48:23.558Z","publish_time":1742597303558,"_source_registry_name":"default","_cnpm_publish_time":1742597303558},"2.0.1":{"name":"@putout/operator-rename-files","version":"2.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^6.0.2"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^24.0.0","lerna":"^6.0.1","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^10.0.0","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=36"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@2.0.1","gitHead":"0c3067fc54573db9064e96b50f549789190b5409","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.13.1","_npmVersion":"10.9.0","dist":{"shasum":"4aa69757a33fe49da68355b55f1075d1fe445a68","size":2400,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-2.0.1.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-rename-files_2.0.1_1739125895516_0.6665965284291815"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-09T18:31:35.695Z","publish_time":1739125895695,"_source_registry_name":"default","_cnpm_publish_time":1739125895695},"2.0.0":{"name":"@putout/operator-rename-files","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.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/operator-filesystem":"^5.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^10.0.0","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=36"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@2.0.0","gitHead":"ab666e6f57c3d0430b6e00c43532adde5b5269dc","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"shasum":"15a8fa5aeed3026e5ef02ff1784758d909379038","size":2399,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-2.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","tmp":"tmp/operator-rename-files_2.0.0_1731339414000_0.31892270676712386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-11T15:36:54.166Z","publish_time":1731339414166,"_source_registry_name":"default","_cnpm_publish_time":1731339414166},"1.0.0":{"name":"@putout/operator-rename-files","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout operator adds ability to rename files to plugins","homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","main":"lib/rename-files.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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/operator-filesystem":"^4.0.0"},"keywords":["putout","putout-operator","operator","rename-files"],"devDependencies":{"@putout/operator-json":"^2.1.0","@putout/plugin-nodejs":"*","@putout/test":"^9.0.0","c8":"^9.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0-0","eslint-plugin-putout":"^22.0.0","lerna":"^6.0.1","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1","supertape":"^10.0.0","try-catch":"^3.0.0"},"peerDependencies":{"putout":">=35"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/operator-rename-files@1.0.0","gitHead":"25e6b13d815ce7fc63c36e5c9c1380cbfdc185bb","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"shasum":"9b31d52b18a06c0ed2eadee1c9a678e5e8b3ecf4","size":2396,"noattachment":false,"key":"/@putout/operator-rename-files/-/@putout/operator-rename-files-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/operator-rename-files/download/@putout/operator-rename-files-1.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","tmp":"tmp/operator-rename-files_1.0.0_1712514594853_0.025029221803026136"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-07T18:29:54.999Z","publish_time":1712514594999,"_source_registry_name":"default","_cnpm_publish_time":1712514594999}},"readme":"# @putout/operator-rename-files [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/operator-rename-files.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/operator-rename-files \"npm\"\n\n????[**Putout**](https://github.com/coderaiser/putout) operator adds ability to rename files to plugins.\n\n## Install\n\n```\nnpm i putout @putout/operator-rename-files\n```\n\n## API\n\nIf you want to create ????[**Putout**](https://github.com/coderaiser/putout) `plugin` that will rename files according to your needs just use for **ESM**:\n\n```js\nimport {operator} from 'putout';\n\nconst {renameFiles} = operator;\n\nexport const {\n    report,\n    fix,\n    scan,\n} = renameFiles({\n    type: 'module',\n    mask: '*.mjs',\n    rename(name) {\n        return name.replace(/mjs$/, 'js');\n    },\n});\n```\n\nAnd for **CommonJS**:\n\n```js\nmodule.exports = renameFiles({\n    type: 'commonjs',\n    mask: '*.cjs',\n    rename(name) {\n        return name.replace(/cjs$/, 'js');\n    },\n});\n```\n\nWhen you do not need to check `type` field of `package.json`, avoid `type` field:\n\n```js\nmodule.exports = renameFiles({\n    mask: '*.cjs',\n    rename(name) {\n        return name.replace(/cjs$/, 'js');\n    },\n});\n```\n\n### renameFiles({mask, from, to})\n\nYou can pass `from` and `to` instead of `rename` for declarative renaming.\n\n```js\nexport const {\n    report,\n    fix,\n    scan,\n} = renameFiles({\n    mask: '*.spec.*',\n    from: 'spec',\n    to: 'test',\n});\n```\n\n### renameFiles({from, to, near})\n\nRename files located near `package.json`:\n\n```js\nexport const {\n    report,\n    fix,\n    scan,\n} = renameFiles({\n    from: 'madrun.js',\n    to: '.madrun.js',\n    near: 'package.json',\n});\n```\n\nYou can also use [`redlint`](https://github.com/putoutjs/redlint) directly.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/operator-rename-files#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}