{"name":"@putout/plugin-convert-comparison-to-boolean","version":"3.0.3","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert comparison to boolean","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-convert-comparison-to-boolean#readme","main":"lib/convert-comparison-to-boolean.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":{},"keywords":["putout","putout-plugin","plugin","remove","constant","logical","expressions"],"devDependencies":{"@putout/plugin-convert-for-each-to-for-of":"*","@putout/plugin-remove-useless-variables":"*","@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":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"b799c0a5d9937e6bb84e932aeea81be99dddeaa4","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-comparison-to-boolean@3.0.3","_nodeVersion":"18.15.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-aoHKtFMTUbknYq1iMGb9AOHBOFY3JdDye1zFpnkha2f0vT4FDds8tTWI0KIRE4s8rRnsIOMzhFowIGYP5QCC1A==","shasum":"a6c326f840ba71a63865bcb8b1455fa37734589e","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-comparison-to-boolean/download/@putout/plugin-convert-comparison-to-boolean-3.0.3.tgz","fileCount":4,"unpackedSize":4897,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVgeUlKSZKj3AdOG4cDtsf7VnPSZK0snpowZbC/+9cEAiEAgLPYLYZDzrd1TbWvntSj0dCLKIwXNm16qReblR94muo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDG4EACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmps+xAAgwfkX8uj8Ivf9xRtDFo9ymenJEYPz+MsxaIh3rsJf9CRzxIq\r\nUMkIVF1evUlYjn/Gb7uQo4xn+UKFH53d9niR22zEjZ5nCAJbLGlKXVKzaIe8\r\n1Ev7NQ6nwq/f7G5biJvcYjr563SWfjgFVrrTFKKnMSDee7C0AmJ149xalF6H\r\nmf+lNEZ85dmCGrPLvSSdO0gVYPASCd3coJAK+xvx24dVPobvll/HOKVPBbI/\r\nctSJbUl7BNcsPSlfItOEadCfwYkYNFPs5BK2ZnV4dMsOuBi+plpuDPBVTg8J\r\ninYhhl9xxA6Nv2HD7u6giqjCn32nzNmzpcaoC56Muzqqzufo5Sj+FLKIjMDR\r\nCiRovMv+Kz+wzVU06j3tENwCGg6qDd+YKycu8PnbfrJYQOtVtEGMarXPssZS\r\n46KH0iB4pagy79ofexbUm6szjy5hWa1Z/oPqA51igiZf+2lZ9xvjzz3icQBz\r\nKLQnZD04MCn67jtZLMUCkBAvGoPRTBOG6IfLNZq80egB7pXx4YxYw5CmFLaW\r\nfW72Pt2bxlHYBHo3lQTH5RTrLEtW4fhirecf9hE6BC3Swt3P8RxDsxTziaIm\r\nXIV2JeNWiiE2CD5dK+Qom1r6F4TUEu3/m92vOZTP7EjFjVcHAfGVn6uqYM2p\r\nGdr5p9TL1GHUk4yejhRF4T56u6uPVB1rlc4=\r\n=+bwd\r\n-----END PGP SIGNATURE-----\r\n","size":2269,"noattachment":false,"key":"/@putout/plugin-convert-comparison-to-boolean/-/@putout/plugin-convert-comparison-to-boolean-3.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","tmp":"tmp/plugin-convert-comparison-to-boolean_3.0.3_1678536196339_0.4756830083468253"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-convert-comparison-to-boolean [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-comparison-to-boolean.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-comparison-to-boolean\"npm\"\n\n> Strict equality compares two values for equality. Neither value is implicitly converted to some other value before being compared. If the values have different types, the values are considered unequal.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and convert `binary expression` to `boolean`. Merged to [`@putout/plugin-conditions`](https://www.npmjs.com/package/@putout/plugin-conditions).\n\n## Install\n\n```\nnpm i @putout/plugin-convert-comparison-to-boolean -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-comparison-to-boolean\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst t = 2 < 3;\n```\n\n## ✅ Example of correct code\n\n```js\nconst t = false;\n```\n\n## License\n\nMIT\n","publish_time":1678536196600,"_cnpm_publish_time":1678536196600,"dist-tags":{"latest":"3.0.3"}}