{"_id":"@putout/plugin-remove-useless-type-conversion","_rev":"5-05b8a8f3e1f6f652695d8a1e6c5930e0","name":"@putout/plugin-remove-useless-type-conversion","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"@putout/plugin-remove-useless-type-conversion","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to remove useless type conversion","homepage":"http://github.com/coderaiser/putout","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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":{"@putout/plugin-remove-double-negations":"^3.0.0"},"keywords":["putout","putout-plugin","putout-plugin-remove","plugin","type-conversion","useless"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=16"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-type-conversion@1.0.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"integrity":"sha512-ZIcfosOKDm/RnMvXmG7Sp5eZ+D7f99kJ6fPZAovnfdFtGpkKZitvzn9mBW7HcBPtLHTDqTm3/4pL2F37HBL2/g==","shasum":"3347a69e24cf0f04bd8df710f6ec7e8b88adc483","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-type-conversion/-/plugin-remove-useless-type-conversion-1.0.0.tgz","fileCount":5,"unpackedSize":4383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvewLCRA9TVsSAnZWagAAlkMP/jfi8ZRGslX+FBgxg6Mn\nl8r3uGkirHTaBDoU1MUe6i7UTinFZl7Uz2VqdLoGDR2iEibuh6wUbB+XotER\nwQnVbT+hpaGsLT03/fQochP4xSvgEy9PJeRYFtS+qXzWubXmwdbdUZ8prp2z\nbRIElgKx8zdbqPfNvfKn4OrFlEcM2XKyjz3SyLkuvMz4fTL+H1o+eUaQTHn6\nKr17hjz2uE6YHQ5BQesaboY3/SksiGPvnNEtHhE6H8iE9GOzgWFBD/QJb5Wk\n36uaVLnNa+E0e2dFqt7QAb9EjsikzCh/gwjTjF52yUbL/gwrjLsDdrUg6Y3V\nfMzf+CBz3eKEFXByHQOngcGAbEAibKDRI6WK7YjxnRAuerpozK0j1lEw4st9\nrT9s/ZSQOdAQTzQPTWyQE4yBJfLz4evTcxapJoXygFnngBC2+D8CXINoLJqN\n4iLQ4yPs6T1+fE46Bf+jTV0Zdk8Kz1rYkxQHXQ5mBQPeLJgYr7URY80F/+Bk\nPmkwQgvLwu9TmxVqAmp1tjXgVLhjnowZXBZugkUrtRIJOYwLDCEkn2VUFO2Y\nnJq5RNPikDw/4j52P1tVU8xIFgXjntopXw2DejstaD6OeV7G5/ISUaOG8vCp\nNicDdTWh3MP1aonN6xvcKGzGFGAd5TWyPBAjrxbDTzAjORZnh17+sG0eO8We\n2o20\r\n=AvMX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3Gd2Zv9ELdHc2zUXoz4e9E7+XeZTe/kqZR8dMHMfWJQIgGhAPN654xHRiZn0WDbuIv+vEvHFWQlUBxDRQmjSs+/w="}]},"_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/plugin-remove-useless-type-conversion_1.0.0_1623059467042_0.019207055245634264"},"_hasShrinkwrap":false},"1.0.1":{"name":"@putout/plugin-remove-useless-type-conversion","version":"1.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to remove useless type conversion","homepage":"http://github.com/coderaiser/putout","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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":{"@putout/plugin-remove-double-negations":"^3.0.0"},"keywords":["putout","putout-plugin","putout-plugin-remove","plugin","type-conversion","useless"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.0.0","madrun":"^8.0.1"},"peerDependencies":{"putout":">=16"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-type-conversion@1.0.1","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"integrity":"sha512-TfyQSmEJ8rJNfZWNd6ZhMJKlz6MWMDeoqit3PlkUc+sAhBaic6weFISGYNQbM1wDcCLeFdiClijNiizAT/h3Xg==","shasum":"f1bff254242fe97fb449746f27cfb8d6826aa737","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-type-conversion/-/plugin-remove-useless-type-conversion-1.0.1.tgz","fileCount":5,"unpackedSize":4423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgvg8YCRA9TVsSAnZWagAAOZoQAIj/xzHQrheMroi81r9a\niAPmHGQCVTxQPrkWrTby/JxsJ8X+/vE8bAVNbqcRtgyMGgPcIFsJtTk8JFsI\nTvTW7iY+b/lO6QVk4UuO+bMXQTwZqWKEcQk7xnfTVn1zLT94PoRjy0Li+M+z\n27fvjbI4WPmN4BqdRIBjRe70arq5bV7nMB9s6wFbx36bJoyKTdCxmIHrox8Z\n8UXucR2IEv2mvTABZ7bzlypcQvLJN1WcpxbAs6BPGxg3t0Oixx5HFTJu+lBu\nv/BeruvvNsxaGtIW05cFhik0SajHs8nJFcoeyYTZiv5ZdHztYIaO3pWV+1gh\n729YUnL0W43klf+gMOlxAefAuQ6dorRoGbtLGOOP4aI4xAGznzOwCBFMEhMF\nFIh3/RRt1xkpCs24DhgtJdHqA+EhLsC82p6kGTqnkRtinaPTyoL9yzUVp4cW\n9javkigSTc8qVCK6acWmFPYo6PeTOc1F42JO+iKhdzEJiSvFTXGJ5qaVyYDr\ne2gqtpdJWxME2ROXAXCRGbZw506MrOHamlAqBc5bNfpYlLOZI7QE8cwjWuZb\nJDp+357qZJ0slna57RWtMGl7SkdZCf+kpk3J23ozqO8RP7pR1ikn/nicn0pS\nvcjLQY3+ziS3+BMFxylTZQq362Zmo5yxivggg5lDYBdUUpoZivl+8YYb1yxu\nKYOM\r\n=gyH1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNHDqXTlBWR8e6TOHYmsiScFDSiSddeeSoaWTFskhdsAiEAz8zfp03MBSTun20RGfWtxrI5bpT2bjLDg/1bac5Omg4="}]},"_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/plugin-remove-useless-type-conversion_1.0.1_1623068440431_0.2050820308075707"},"_hasShrinkwrap":false},"2.0.0":{"name":"@putout/plugin-remove-useless-type-conversion","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 remove useless type conversion","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-type-conversion#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove","plugin","type-conversion","useless"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"3571e3072ce651910113791984c4ebd059469ecd","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-type-conversion@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-wPglZa7HwMShlD1J3ZnI5Z/HIPyeskvz+3o6/Gu2HpfFKND2m79YPvg2Hnvcb2j6Ylfat0g95CqX06dKRavF5Q==","shasum":"de488e5334baeb7e6d9204cc32ee017b31e517bb","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-type-conversion/-/plugin-remove-useless-type-conversion-2.0.0.tgz","fileCount":6,"unpackedSize":5169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOgCCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrIzhAAiSLhbP/a3wF2r8hEKcCeqtGUehVLYT/ivlfSnsv7J4dpa1cW\r\nkHk/nYG1OWba9qxLyKQEiTkw9RF5NTSqa67eu2TwC24/PNi7tHkbRKp7vLTh\r\n3HKmvUCa6UMFhTEfd/t/alY6EBzlktncAJzG5DCiV3teWaXC6AIC2ZEkwYFO\r\nKZ7yqWLvRlvjP8GUCdApb92/cGOTSGYuvzafEt9PrmXsvRJR/ApZ4iENmHKE\r\ng0SDpITLuPUoEVWyWwdRb1r+ud0FwCLnzVIq1UU7WrpOqASPkBGSa+CHvVdf\r\nQbHwqktOaAVM3AvTfgsotAH9AwHT3ikd2n9wk7Pml5oMlEPluut4JIeuhCeG\r\ngvYMqsyNB/CWEWC4tEiiAz8HZQZELs7sE71VdQClPLsM8OtPglOw64aff8Qx\r\nCZD/A4k3uSWT2J28EMXhyVD/8dk0XYzxoz2puX4GXSwRBrjS0pGqP/3R3Rx7\r\nP7itJ9DF6PCdPLJnRKDzmB4AnBgC+jZrKroE0lX+Qim0xzNOeSQI3cqcPODf\r\n5PphRvjTL0Boqi0scG8Pjf4ITXRESDBzDINthkY4W0xLLRm8FGXippQpGo0H\r\nRVvzOzfJRFDD5bXBYWcpWbScZMKwIGdKnWqGEANS4Xo9DdKcd57YsdCjRTHq\r\noDRFB4ZaFyWWpinx8ip9Efoeu7MI2v7PZm4=\r\n=4dev\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICSUXntFS6uA4VPYnmOp+VigvkyygohF/Fbqu0HpGUELAiA7Hi1dm4rVxTHNDFISYDU9PCfCYt9JCkWB448o+4QdQQ=="}]},"_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/plugin-remove-useless-type-conversion_2.0.0_1647968386554_0.29245156500479896"},"_hasShrinkwrap":false},"3.0.0":{"name":"@putout/plugin-remove-useless-type-conversion","version":"3.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to remove useless type conversion","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-type-conversion#readme","main":"lib/index.js","commitType":"colon","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove","plugin","type-conversion","useless"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=28"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"7757aeba93ec680e046d468a835fccd8adc21d88","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-type-conversion@3.0.0","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"integrity":"sha512-uiFinLqzggyZud9jgHbmysAwW9sofJET0vNfX14Tu4Fqe30XxOvb9bfJ+xoi67bq9ZkG9kFNPnFG4EQCijKYOA==","shasum":"8b64f2bf828f710b02c0797a3214dffe24f8d3b9","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-type-conversion/-/plugin-remove-useless-type-conversion-3.0.0.tgz","fileCount":6,"unpackedSize":5607,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAs3iGdYjT0I81Q0wYfT0CI8cJdBdoCSujA3gu6uFVdFAiB1pGs9p9DtYLtiZLNMmkn4D0Rn0kuoVg0qTYV5bk4snA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBasPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpHaRAAj+PJvlJ4Ky0Ph7YP55J/d7n9WsvnOdBBYFFcc9ODWUroMO26\r\nsWbu8Ylxo7j3wfj42D4AFOXq6yPWaNFQYyzPKarjuv231j5j7+8hbOXZHfmg\r\nMz+xXsZ38uEoRKBRT+cNK+M3XZ+I6PXk6h1PJeeoCWwyrD5It2VPeLAWHe56\r\nImyLT4JCZa98h0dPfK63GitDCKMNElgHwl+Eg3JgnPWoS5VIb2J3fZ/trtVX\r\nq9T7ah6Kc/K+4xGxN1aA46xzjbfdTWGiNJYSceO7VsanBXQ/TpqneloaYiXH\r\nxSwZw5p3DqsYs5jeS79Uksdy/lh3k9M8xnUFtX3JixCIiaSZce7DB7tk4Gh9\r\nYbATeJc0x312SpBQ+zeW7NvBiLsI7hj0nl47uG5lYDB6Ctvao5ChVhzhxu2Q\r\nTn8oNr3eaqoajrttJTa9lY1Y5RkIhRMD5qnhnA1byitE8IylQ893mshV5VSM\r\nsMvaLizfmhvkumllhgz8COj+gMCoAf7ezYRvhciT5ySLxodgGKXuqt6wZhuc\r\ni9NQKJe6fzumXenheC5eq3s2eTa3PclLBbYbVt7Cc5QD81ND3wGXl0qs6ApO\r\nQr5UHBybCSbn8FxbilYRMfEdqBlDGIUpdGT/9MHCEsPxoV5q6vO05fcejf8t\r\ncgtKUbaGkojx6q7tl7PyjcN2zU4zp5sbJ/E=\r\n=Hxcy\r\n-----END PGP SIGNATURE-----\r\n"},"_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/plugin-remove-useless-type-conversion_3.0.0_1678093071573_0.11276608480904615"},"_hasShrinkwrap":false},"3.0.1":{"name":"@putout/plugin-remove-useless-type-conversion","version":"3.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to remove useless type conversion","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-remove-useless-type-conversion#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-remove","plugin","type-conversion","useless"],"devDependencies":{"@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=28"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"8770054c91b2d50d5de97916495c7950debb4d26","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-type-conversion@3.0.1","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"integrity":"sha512-C1U0g6xPpdxlqButp1ID7XDh+suTmJC6yMMkh6V1q6Rp+p0nSvdHpROxI0OaxN5/psjUawG6Y2A7ic2pzL1xvQ==","shasum":"40f18fbb62b5946d8e588a8f56026904f0096217","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-type-conversion/-/plugin-remove-useless-type-conversion-3.0.1.tgz","fileCount":6,"unpackedSize":5672,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQxOX5lvyI4G9fytyMVdxirp9wPNMbakZ5zuDKgipgzgIhAJtYNfwOh9knSJZvMZsSmrlduHmV+E3vRYqPxVBDVn3d"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCzmcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnYQ/9Fqmy7Unyphfx0jyjAErBfNEgLdIpfBwP7WGqLd/nqqu4I+qa\r\noT1C+uXtHyKGVj3ZRdDV8oJeRk2TKqShWYE1znq3aFsweRVY+K8bRceUdmu5\r\n7p8X1qugzzpryTB7G6reTpkum3GgvSDGhOvOzNwktAu5nghkkrKwdCLoxb+3\r\n/v6PRSPFlBpoayulSlHznAXq7Oqpufb6Agn+bJnwkZhI/toElsM0xCIl20H+\r\nlLMh4lG8Mh1F1AnwN+ZnAHxvIhclKmHcLXF+umuC9x70fgukdp8JUlgvQKL5\r\nAfQkz8wBPRtx166MaQEU1BveDa0wzOlOodYLLgzZKIG1R1/DiT46XdupUdcH\r\npwqukiPa2thMJejMAdb/0NVmQmTb1pHNMOTqRI1BmSiWE6t1l6CMaN42X2ly\r\nZe6Hy+EeIEvr3kPaxTDSUna6IF5RC21bmOUiVhh2Q2A7Qg9yMY7y4YTgA0Ly\r\nMxhlEn5ufAat7kpHLguWHGkU7KRLNybRCJZjqnonSI1tAtaPcLjEvS/5RvwP\r\nGaGFuzmHaYfDy02PkZ2hFffT7tId+X3KkYINNyd40NpDMUy5IAXaOtMJjasb\r\nmjOarQvBpU6PmpXusqsmglVjMb5KHsNY+l34f6zkBCAG5v2KPxzr66RQZiTg\r\nyL46/4T+u7AI+J3j5ctS9nfNo6JNDhCByoQ=\r\n=CpNN\r\n-----END PGP SIGNATURE-----\r\n"},"_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/plugin-remove-useless-type-conversion_3.0.1_1678457243939_0.4797333849481962"},"_hasShrinkwrap":false}},"time":{"created":"2021-06-07T09:51:06.817Z","1.0.0":"2021-06-07T09:51:07.208Z","modified":"2023-03-10T14:07:24.224Z","1.0.1":"2021-06-07T12:20:40.533Z","2.0.0":"2022-03-22T16:59:46.704Z","3.0.0":"2023-03-06T08:57:51.740Z","3.0.1":"2023-03-10T14:07:24.096Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"🐊Putout plugin adds ability to remove useless type conversion","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-remove-useless-type-conversion#readme","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","type-conversion","useless"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-remove-useless-type-conversion [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-type-conversion.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-type-conversion \"npm\"\n\n> It is possible to use a couple of **NOT** operators (`!!`) in series to explicitly force the conversion of any value to the corresponding boolean primitive. The conversion is based on the \"truthyness\" or \"falsyness\" of the value.\n>\n> The same conversion can be done through the `Boolean` function.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_NOT)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to remove useless type conversion. Merged to [`@putout/plugin-types`](https://www.npmjs.com/package/@putout/plugin-types).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-type-conversion\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-type-conversion/named\": \"on\",\n        \"remove-useless-type-conversion/with-double-negations\": \"on\"\n    }\n}\n```\n\n## named\n\n### ❌ Example of incorrect code\n\n```js\nconst a = !![1].includes(1);\nconst b = Boolean([1].includes(1));\n```\n\n### ✅ Example of correct code\n\n```js\nconst a = [1].includes(1);\n```\n\n## with-double-negations\n\n### ❌ Example of incorrect code\n\n```js\nif (!!a) {\n    console.log('hi');\n}\n```\n\n### ✅ Example of correct code\n\n```js\nif (a) {\n    console.log('hi');\n}\n```\n\n## Comparison\n\nLinter | Rule | Fix\n--------|-------|------------|\n🐊 **Putout** | [`remove-useless-type-conversion`](https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-type-conversion#readme)| ✅\n⏣ **ESLint** | [`no-implicit-coercion`](https://eslint.org/docs/rules/no-implicit-coercion) | ✅\n\n## License\n\nMIT\n","readmeFilename":"README.md"}