{"_id":"@putout/plugin-apply-arrow","_rev":"4160086","name":"@putout/plugin-apply-arrow","description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:37:24.000Z","created":"2025-01-04T16:19:37.887Z","3.0.0":"2025-05-05T16:11:47.742Z","2.0.0":"2025-03-01T20:48:06.186Z","1.5.0":"2025-01-18T14:35:41.933Z","1.4.0":"2025-01-11T22:10:31.417Z","1.3.0":"2025-01-09T19:49:05.841Z","1.2.1":"2025-01-05T11:42:46.631Z","1.2.0":"2025-01-05T11:31:25.189Z","1.1.0":"2025-01-04T20:10:58.843Z","1.0.1":"2025-01-04T16:28:02.769Z","1.0.0":"2025-01-04T16:19:37.887Z"},"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":{"3.0.0":{"name":"@putout/plugin-apply-arrow","version":"3.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@3.0.0","gitHead":"06494c4bdd00a09df5e855a10aeb32d5e9c1b4c2","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"23.11.0","_npmVersion":"11.1.0","dist":{"shasum":"0fccf40aa8c9f1ba315ad49e0f7763f3f965b770","size":2545,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-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/plugin-apply-arrow_3.0.0_1746461507555_0.22106487118800455"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-05T16:11:47.742Z","publish_time":1746461507742,"_source_registry_name":"default","_cnpm_publish_time":1746461507742},"2.0.0":{"name":"@putout/plugin-apply-arrow","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@putout/eslint-flat":"^2.0.0","@putout/test":"^12.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^25.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=38"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@2.0.0","gitHead":"f5fc02018a52daa34f097107eec526f25737b29a","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"shasum":"90cf335c3983839bc4b7b72097aad1fe1107896d","size":2565,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-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-npm-production","tmp":"tmp/plugin-apply-arrow_2.0.0_1740862086014_0.1532795028779026"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-01T20:48:06.186Z","publish_time":1740862086186,"_source_registry_name":"default","_cnpm_publish_time":1740862086186},"1.5.0":{"name":"@putout/plugin-apply-arrow","version":"1.5.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.5.0","gitHead":"bbd0cd64a76568d53369c5d5eedcd78486324005","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.13.0","_npmVersion":"10.9.0","dist":{"shasum":"6298ff9cde7333b59df7085a338b60c2e18e2c2e","size":2563,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-1.5.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/plugin-apply-arrow_1.5.0_1737210941745_0.007319216647658111"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-18T14:35:41.933Z","publish_time":1737210941933,"_source_registry_name":"default","_cnpm_publish_time":1737210941933},"1.4.0":{"name":"@putout/plugin-apply-arrow","version":"1.4.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.4.0","gitHead":"bcab9aed0a79c7e81dd0eb5c59788c0a23e849c1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.13.0","_npmVersion":"10.9.0","dist":{"shasum":"d3fcdef13fb5742fd0ecad61ceae336b3f689112","size":2487,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-1.4.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/plugin-apply-arrow_1.4.0_1736633431238_0.24391581490881653"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-11T22:10:31.417Z","publish_time":1736633431417,"_source_registry_name":"default","_cnpm_publish_time":1736633431417},"1.3.0":{"name":"@putout/plugin-apply-arrow","version":"1.3.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.3.0","gitHead":"026b97056ab991100e079c912840f80adfbf1feb","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.13.0","_npmVersion":"10.9.0","dist":{"shasum":"b3cf8ca27c3673036b1fc04dcf14c1a941776c09","size":2468,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-1.3.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/plugin-apply-arrow_1.3.0_1736452145646_0.5867086357148754"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-09T19:49:05.841Z","publish_time":1736452145841,"_source_registry_name":"default","_cnpm_publish_time":1736452145841},"1.2.1":{"name":"@putout/plugin-apply-arrow","version":"1.2.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.2.1","gitHead":"7e8a0a3663247cdd6112cd4ee5bf4b8d13115009","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"8a35c1f56f7cebc6c4b522dff189a3dcc824a9e3","size":2427,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-1.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/plugin-apply-arrow_1.2.1_1736077366457_0.05986031290008387"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-05T11:42:46.631Z","publish_time":1736077366631,"_source_registry_name":"default","_cnpm_publish_time":1736077366631},"1.2.0":{"name":"@putout/plugin-apply-arrow","version":"1.2.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.2.0","gitHead":"fcf226bfe5f9c7a84ed45501a1bfb342a5e1c293","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"2b8ecdd8875a1173e37402aa87b19f5159902b6e","size":2368,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-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/plugin-apply-arrow_1.2.0_1736076685003_0.09086125539827972"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-05T11:31:25.189Z","publish_time":1736076685189,"_source_registry_name":"default","_cnpm_publish_time":1736076685189},"1.1.0":{"name":"@putout/plugin-apply-arrow","version":"1.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.1.0","gitHead":"719111b795f6d7fca697411503d2797bae2ed5a6","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"68e50d9e6d9cfa906b24064d898c635eb198b1a2","size":2338,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-1.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/plugin-apply-arrow_1.1.0_1736021458639_0.7476813199343038"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-04T20:10:58.843Z","publish_time":1736021458843,"_source_registry_name":"default","_cnpm_publish_time":1736021458843},"1.0.1":{"name":"@putout/plugin-apply-arrow","version":"1.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.0.1","gitHead":"69eae3add5132f787c506eb005e7532c95586000","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"4eb31845995fdeab617d8683df7f75d5d67a182e","size":2183,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-1.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/plugin-apply-arrow_1.0.1_1736008082564_0.25120202444274775"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-04T16:28:02.769Z","publish_time":1736008082769,"_source_registry_name":"default","_cnpm_publish_time":1736008082769},"1.0.0":{"name":"@putout/plugin-apply-arrow","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert Function Declaration to Arrow Function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","main":"lib/apply-arrow.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","warrowch:test":"madrun warrowch: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":{},"keywords":["putout","putout-plugin","plugin","arrow"],"devDependencies":{"@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","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-apply-arrow@1.0.0","gitHead":"46d4481fc8c86e57acfa4026eded3bf3dad980c9","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"b329b49dc4801b30299f74164abd342673456ee0","size":2117,"noattachment":false,"key":"/@putout/plugin-apply-arrow/-/@putout/plugin-apply-arrow-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-arrow/download/@putout/plugin-apply-arrow-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-npm-production","tmp":"tmp/plugin-apply-arrow_1.0.0_1736007577700_0.3271557024908567"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-04T16:19:37.887Z","publish_time":1736007577887,"_source_registry_name":"default","_cnpm_publish_time":1736007577887}},"readme":"# @putout/plugin-apply-arrow [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-arrow.svg?style=flarrow&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-arrow \"npm\"\n\n> An arrow function expression is a compact alternative to a traditional function expression, with some semantic differences and deliberate limitations in usage:\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to convert Function Declaration to Arrow Function. Checkout in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/828228d2515805afc682eab0fe0a4105/a2c6507dd197d04cbbd387e4fb414ef6548234cf).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-arrow\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-arrow\": [\"on\", {\n            \"maxSize\": 30\n        }]\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nexport function replace() {\n    return {\n        'if __a > __b': 'if (__a > __b)',\n    };\n}\n```\n\n## ✅ Example of correct code\n\n```js\nexport const replace = () => ({\n    'if __a > __b': 'if (__a > __b)',\n});\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-arrow#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}