{"_id":"@putout/plugin-convert-to-arrow-function","_rev":"8-3baef4f085a31630e2176cb33b976a02","name":"@putout/plugin-convert-to-arrow-function","dist-tags":{"latest":"5.0.1"},"versions":{"1.0.0":{"name":"@putout/plugin-convert-to-arrow-function","version":"1.0.0","keywords":["putout","putout-plugin","plugin","spread","array","from"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-to-arrow-function@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/putout","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"8e762622128afe0cd8e30f26819652dc94a87dc5","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-1.0.0.tgz","fileCount":4,"integrity":"sha512-gMdrfJIrr/T3Ntd8CDKV69uXjeBgvJ/QeBky7K7TQBiSNghZ9GeLb0K4QHHxSa0ZazqapIvA8Wh7jQKeoFHF3w==","signatures":[{"sig":"MEUCIQCkWMr2fFwN51r2XN0sslcOwppV3rrszBEpaGJfpZ+AkAIgBQ1iPHERjKcu1uNUYnQfT8ZtcceUtpi7Mcx/z0dL4m0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoEmWCRA9TVsSAnZWagAAgngP/3p1yNIN0ud19Yc3cvfB\n8iH80iai3JG/FFUxjKBQVK/kxEkK1M72LSj+Nu+L5rTFTfIucHxVvZ98mQjO\nZwXCFpSSI4Y2JTxlFDpRUylxQehDQTTrFHmX6mkRmitZqmWbnyYd3o34gL/3\nhGqFByXcGOjk1rlyF/vVYYpGuVRVG/5xhlbp5K4gLX4HcxjustqUno0gLZLa\noPEiGrduvoa1Fc0Qp6+zIhHXPBlhsOuTjMl7vH+SLmfLefCd2/veMDGMeAq6\nq5rq1THRdO2hwzOgjJO3FnhN35xNgwFbhiYGvCe9CZzsk/BLjy9xYmKNP/7v\njyCNSFiGC9/i8Tg/2/bs5CKWgTziwsbAw/3cYl0mvOOjPz3o4/oDaTOTZ8Hq\nWToAlmO7gPabHNn6tccnqmh5wGsNK033IeYPlr/w6yyVyd81j2DK+a2vnKSm\nuV75ujAGu4RExkKfsBmKwPN5cHhh/yF5X2w539VNP001F8oXv2NKdTgaOhrX\nUrufBqX4SppO+noBtfbOlVUplnrNoNiPexaRbIXvdSEkrTsXGEXSX7LbAtbY\ndCM/cVDoYWXI6G0cm9Yzb8/S6WGaDEZ4eUn/ejDlB4vkCVPUrRuueoLYXyly\nd8EwcBA7Q1XyrgSvETy11NMqSjJSggF/vhCO34VvtrII/skv58WUMwTeUJMp\n0aqK\r\n=uNt0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/convert-to-arrow-function.js","engines":{"node":">=8.3.0"},"release":false,"scripts":{"lint":"madrun lint","test":"madrun test","putout":"madrun putout","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","lint:all":"madrun lint:all","watch:test":"madrun watch:test","publishOnly":"madrun publishOnly","fix:lint:all":"madrun fix:lint:all"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"6.11.3","description":"putout plugin adds ability to convert anonymous to arrow function","directories":{},"_nodeVersion":"12.11.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","eslint":"^6.2.0","madrun":"^3.0.0","coveralls":"^3.0.0","supertape":"^1.0.3","@putout/test":"^1.16.1","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0"},"peerDependencies":{"putout":">=6.2"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-to-arrow-function_1.0.0_1570785686054_0.2834024044614152","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@putout/plugin-convert-to-arrow-function","version":"1.1.0","keywords":["putout","putout-plugin","plugin","spread","array","from"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-to-arrow-function@1.1.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/putout","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"2c9db5f3a31e451b10ade1700d0db321677d55ec","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-1.1.0.tgz","fileCount":4,"integrity":"sha512-8FjqUF2OTbj/bW+y4AVdUSWzyDlMqoMNHk6+lxAxKzsQqO/NB9KADPHTId6WkcQOUnlBF4aU3D3Ey2qXh9dSiQ==","signatures":[{"sig":"MEUCIE+LDkty/p87E/Nk1uvwloa4eBlB6X1CpCeZwb1HvjtkAiEA0v78Gnzmq4OARetL+DrS+hecJARAYGPvaE78WgYO9wk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqYmSCRA9TVsSAnZWagAADBwP/RKfbKnf0UeydkI8GNTm\nJpj5PHKqQ/ybFufdlbZocaeL0Q3Bqj+gNIC+8vlRvF8okJoL88ds6+nW47P4\nv9j6+HrCY3M1dC5xcehemyNRxEWbx12Fc+3ztMe+1ddSTWJJePQ2HxYtmbN3\nw6+rGlNgxT7PjbqK7Wb5E5Kv24IyTE86/pxsbfoK6j28001BCefhp00LdEcF\nilhuUnQ2LPJiAIXsG8TOsv2DrbMsDv+JnLVmP8xP67/P374N1k+/GIEf5ZIa\n4X/HFX8mx7BCC4m9IDbh/OEom++FnFEDIDBuoflQ5RD8zYm6i8O1BPe/EBBl\n8ct+PWO4AKYZgCBO2cFI9UeaNzB0bRC0nPCF3/SeOyZIsFnxGCJ135dImVIU\nGPIVZ5R2+rY6jHn5VaDxjRqQPfob9j2cT85D47mj8KUlZKoUpX27ftrxrPz/\nTQI4Qxb90Mf1+a9E0wzm/HwPQPJIKOLpOFL7lmwq6UK6NG5VxJk6UtSznVEq\nJeufaT2XqE5oWj7SSqhNR5s3DiZ7oE2IH91V/u9sQUreVTLaunipwY5J2f9N\nUpXuif4mM9v+Be5F+oyYMOTym8dXvH/Pxot6kU18QDlNvzGhMTPmD4GlZ0RW\nwwaPcfSI6FjJs2pL6lxwFLpeBhz2evvho+tDL9rPqjHgq0FpIpnZTirdfjBe\nP4n4\r\n=9XGM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/convert-to-arrow-function.js","engines":{"node":">=8.3.0"},"release":false,"scripts":{"lint":"madrun lint","test":"madrun test","putout":"madrun putout","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","lint:all":"madrun lint:all","watch:test":"madrun watch:test","publishOnly":"madrun publishOnly","fix:lint:all":"madrun fix:lint:all"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"6.11.3","description":"putout plugin adds ability to convert anonymous to arrow function","directories":{},"_nodeVersion":"12.12.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","eslint":"^6.2.0","madrun":"^3.0.0","coveralls":"^3.0.0","supertape":"^1.0.3","@putout/test":"^1.16.1","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0"},"peerDependencies":{"putout":">=6.2"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-to-arrow-function_1.1.0_1571391889589_0.19513605849557902","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@putout/plugin-convert-to-arrow-function","version":"2.0.0","keywords":["putout","putout-plugin","plugin","spread","array","from"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-to-arrow-function@2.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/putout","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"fb62bfbb2ab770643b5943740d6495142019f685","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-2.0.0.tgz","fileCount":4,"integrity":"sha512-K3eWaUl8uJUrQoOSdyrL2qy8zqnbTrBa8/ODMc9d/h2k1kxWJnNUKUnTVoXvoVVWKLurG3Tx1K3vbN2hX0J9xQ==","signatures":[{"sig":"MEQCID7y6010XeLwLSF/sRisSt+XSvYShe7qDCBlB3WP25LZAiBx3vVBwyh3GJ+oXypCs/x5Kl4tHlFWXaE3+Ye/0m8RgA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4127,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdwtpaCRA9TVsSAnZWagAAvRIP/AqLQhGXTYhKqLK90tT4\nqajeBFyPdhwCJdmEeKNolsb779VMna2sMQCsdE85a1A5onbSPPDnqj3vx+lp\njxzY/La7Pt8W/yJSvjQdF/k5LhfA6OrlUT0dPbm9MEvf8BLx4Kbqyj7Azzrr\nBExAnAJN4LTV1Bk+m6Py/10DO1DBt6K8Z3L6EeY+qAOW4lIEh9fXvzQHromj\nsO+d+L57AY9rYpzPZhuFCRZ7d8McSo61ZW9uH9t1iGJ++zTpLYqRCXPt7AxQ\nTFXVs3YtfXvYQjxTX38lvTqU3INURhq1BuJaJYm3yQTpZkaaU+TKJRvyYwkH\ntMT9bbdFrabcIhiYez/ZE+9BQS0DvHmBLTq0dFVVJYgQlEMVsFKxD8FKH7RY\nRbcJf2DpPaEjg9lj8n+iuvLwb9srPw8kZULWGfrmu+/iveXwu7jzOj3VhBqh\ngjyWz+LoKf5QudGC9Dppn+i5C35VYpBsZAf9PbS3Tl1r2ptMuyPzfxuNHWfw\nQLc4YBnt+Hw59cOAqR+NkMWDfU2LZm6TN5JCZ3Ef8RCqhC7TgTZh9xE7zGKu\nYQsPrKK/j/oXURETd8B3BNpiJEJNOzdgORUMal1R06GFsD8+5LZSb0WFK4Vq\nNWPxRLf+M0EFrincs3zWONHifiivsGJtWv8lPZtkTPqk3FkQVI5xQFNAmBji\nLdF4\r\n=k6Xr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/convert-to-arrow-function.js","engines":{"node":">=8.3.0"},"release":false,"scripts":{"lint":"madrun lint","test":"madrun test","putout":"madrun putout","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","lint:all":"madrun lint:all","watch:test":"madrun watch:test","publishOnly":"madrun publishOnly","fix:lint:all":"madrun fix:lint:all"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"6.12.1","description":"putout plugin adds ability to convert anonymous to arrow function","directories":{},"_nodeVersion":"13.1.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","eslint":"^6.2.0","madrun":"^4.1.0","coveralls":"^3.0.0","supertape":"^1.0.3","@putout/test":"^1.16.1","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0"},"peerDependencies":{"putout":">=7"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-to-arrow-function_2.0.0_1573050970495_0.26530494009497896","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@putout/plugin-convert-to-arrow-function","version":"3.0.0","keywords":["putout","putout-plugin","plugin","spread","array","from"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-to-arrow-function@3.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/putout","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"6f64d9a132f431bc3ea9ae5884d41836599418fe","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-3.0.0.tgz","fileCount":4,"integrity":"sha512-0bqurAj6elhSiLW+AOimEWSgNdoQuLNqj4dQHrVo4RZCfbtYLL2yqiv4Y5PfGS7+Le6dFuwxEcyj9L3+u9EnYg==","signatures":[{"sig":"MEUCIH+i9osUZ4qRyq926+uqY5Pr6duC53vHYzFbTZNGihqGAiEAyI42AldvCrjqNVJnuZV3d9kalpBqDPRG1wU3NjVQfQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJflBnvCRA9TVsSAnZWagAAICsQAJIZD8CkIyqsU6lUigct\n+Unat2ZJ9Y1Y/wdhh2vwlCs+VtACEw5N1szESO626lfweMxQ983T02yy0KyO\npLBN/YOSCn3bOy0M5txMs4d/yJGWN3yKgjrJUYujTrThloWvdTjAFe4kNE8I\nsPyqCqmsQlSu1qILkISNlS3pHLrK6qKrP5H/SiIlMN3BoJWlor7EasB0L8LF\nNh4eiXT1+ODuEASqg5ZaPuN3uVUgePlXhjCBN0VewgG6+zDGz23IY8jFSNp1\nsE7FIQNNxEI7QQxGf40jcccLPAavVr+DDldOg4QhaePMfgrBVtdTiTzpGHUh\ndRKLoGgW1m8Uj8CqlQ803YWj3yBApFlfCzRmAGBP57HNS5H2Tq8iC4K7wrqX\npDmTH0viS/+vkDDW4qQ8zd3Nz0XjCHnofHS8WBXubnIPirC7Ze/4nowXieWi\nmHbq0idVSk/mQWb+XCpvczAVY/tisV802wpCFsuhkOwDfddzrPeo9rGUIfUa\nPirsD8037yzjgAVfslqIl02LrJ5+zjrs3Le6+mTYStYPd6mRDsLXLyyFgnMY\nmwf1dX/Fwo9vHAoCIWLU/EtlxWGoeJ+KnlRPk8iHK/CAEdY7b3pKgsvrBuN7\nEDKV0wsYpGkgvinqaLwt+ra+vVCkT0oorPw/CmT62UTPV0JVjK+VubB01F+C\nDzqa\r\n=g3Ww\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/convert-to-arrow-function.js","engines":{"node":">=12"},"release":false,"scripts":{"lint":"madrun lint","test":"madrun test","putout":"madrun putout","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","lint:all":"madrun lint:all","watch:test":"madrun watch:test","publishOnly":"madrun publishOnly","fix:lint:all":"madrun fix:lint:all"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"6.14.7","description":"putout plugin adds ability to convert anonymous to arrow function","directories":{},"_nodeVersion":"14.14.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.1","eslint":"^7.0.0","madrun":"^7.0.0","coveralls":"^3.0.0","supertape":"^2.0.0","@putout/test":"^2.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^5.0.1"},"peerDependencies":{"putout":">=10"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-to-arrow-function_3.0.0_1603541486945_0.8224398290751826","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@putout/plugin-convert-to-arrow-function","version":"4.0.0","keywords":["putout","putout-plugin","plugin","spread","array","from"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-to-arrow-function@4.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-to-arrow-function#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"2f0ef4055a995949d4a50026559864553d5df693","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-4.0.0.tgz","fileCount":4,"integrity":"sha512-oE+jmjjrSxD9BtLEiHnqW0UA7wXPzNrt46iNbrGRT6EkoKcJogp1BedP6bMlvdJUsHZu/Lx1Ib1unPQ7dWk+Tg==","signatures":[{"sig":"MEUCIGhkcQ+ONKWkkd+ODuUOfYn4klQwPxMo2WAtcCF5aQVqAiEA1SxakqYnKehL4qpblrR1Aumi08dWGJ3AF//uESBaweo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4895},"main":"lib/convert-to-arrow-function.js","type":"commonjs","engines":{"node":">=16"},"gitHead":"3efbfc0e8f197fdc363959cf0140ed51d26c3a38","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","publishOnly":"madrun publishOnly"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"9.6.6","description":"🐊Putout plugin adds ability to convert anonymous to arrow function","directories":{},"_nodeVersion":"18.16.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^7.5.0","eslint":"^8.0.1","madrun":"^9.0.0","@putout/test":"^6.0.0","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^17.0.0"},"peerDependencies":{"putout":">=29"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-to-arrow-function_4.0.0_1684405336273_0.2640110486450602","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"@putout/plugin-convert-to-arrow-function","version":"5.0.0","keywords":["putout","putout-plugin","plugin","spread","array","from"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-to-arrow-function@5.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-to-arrow-function#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"7122cfd7b270097ddd48a460d63b497fc8f16685","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-5.0.0.tgz","fileCount":4,"integrity":"sha512-wsz7bOX+JmmaqCurV0kXDz3JLIlLkS8f91JSk0KXKEJh/R1kDmP2nB889xNPM+WAQnLUYYWcceZ28+Wt0RpNlA==","signatures":[{"sig":"MEYCIQD/FzJn80fpRGTCnsRrLQwoVNbwvpocgIczObCpuR8zBAIhALTO1/hDfBcWhNFKdGVd6S25YZWPYgmCQSP/kPIaCezt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4924},"main":"lib/convert-to-arrow-function.js","type":"module","engines":{"node":">=16"},"gitHead":"73e8f8e77b4ea101f66a1f8a8d86fd77c2560d91","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","publishOnly":"madrun publishOnly"},"_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 plugin adds ability to convert anonymous to arrow function","directories":{},"_nodeVersion":"25.5.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^10.0.0-alpha.0","madrun":"^12.0.0","@putout/test":"^15.0.0","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^4.0.0","eslint-plugin-putout":"^30.0.0"},"peerDependencies":{"putout":">=29"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-to-arrow-function_5.0.0_1769632978546_0.3574527271326917","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"@putout/plugin-convert-to-arrow-function","version":"5.0.1","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert anonymous to arrow function","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-to-arrow-function#readme","main":"lib/convert-to-arrow-function.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"scripts":{"publishOnly":"madrun publishOnly","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":{},"keywords":["putout","putout-plugin","plugin","spread","array","from"],"devDependencies":{"@putout/eslint-flat":"^4.0.0","@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"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-convert-to-arrow-function@5.0.1","gitHead":"2f4e5df8e4337c5a15add2a3c5114dc778ecb8ee","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.5.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-G1yzA3Vo/e1mSwPP77zUpjZ15gO5uVTM9syxJFAWv+1YUlFyr5zDrnbZAH45J8muC+ieGn0PWU5BJWoj0Y9/lQ==","shasum":"d509def59d254c57c790eb064aa2389a96a0fd51","tarball":"https://registry.npmjs.org/@putout/plugin-convert-to-arrow-function/-/plugin-convert-to-arrow-function-5.0.1.tgz","fileCount":4,"unpackedSize":4924,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICxraqn7d5T2swPwVq5pfpNbkA6ndN5LRTMGz4NdpeFNAiEA3sGoGFDpqyucgf+bo0dCm8/XwN0Qk4gZPuGg+q+AlVo="}]},"_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-convert-to-arrow-function_5.0.1_1769633167614_0.5109771190533354"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-11T09:21:25.873Z","modified":"2026-01-28T20:46:07.895Z","1.0.0":"2019-10-11T09:21:26.177Z","1.1.0":"2019-10-18T09:44:49.687Z","2.0.0":"2019-11-06T14:36:10.633Z","3.0.0":"2020-10-24T12:11:27.085Z","4.0.0":"2023-05-18T10:22:16.461Z","5.0.0":"2026-01-28T20:42:58.704Z","5.0.1":"2026-01-28T20:46:07.744Z"},"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/plugin-convert-to-arrow-function#readme","keywords":["putout","putout-plugin","plugin","spread","array","from"],"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"description":"🐊Putout plugin adds ability to convert anonymous to arrow function","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"readme":"# @putout/plugin-convert-to-arrow-function [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-to-arrow-function.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-to-arrow-function \"npm\"\n\n> An **arrow function** expression is a compact alternative to **anonymous function**.\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 convert **anonymous** to **arrow function**.\n\n## Install\n\n```\nnpm i @putout/plugin-convert-to-arrow-function\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-to-arrow-function\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nmodule.exports = function(a, b) {};\n\nfunction x() {\n    return function(a) {\n        return b;\n    };\n}\n\ncall(function() {\n    return 'world';\n});\n```\n\n## ✅ Example of correct code\n\n```js\nmodule.exports = (a, b) => {};\n\nfunction x() {\n    return (a) => {\n        return b;\n    };\n}\n\ncall(() => {\n    return 'world';\n});\n```\n\n## Comparison\n\nLinter | Rule | Fix\n--------|-------|------------|\n🐊 **Putout** | [`convert-to-arrow-function`](https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-to-arrow-function#readme) | ✅\n⏣ **ESLint** | [`prefer-arrow-callback`](https://eslint.org/docs/latest/rules/prefer-arrow-callback) | ✅\n\n## License\n\nMIT\n","readmeFilename":"README.md"}