{"name":"@putout/plugin-convert-comparison-to-boolean","version":"3.0.2","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.2","_nodeVersion":"18.15.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-nmh9ZgvbXv14zBNp82UeLgaHCnGRkWAoghKsZ1JSuQlogWjnGTSVePJSYUBU4oO0fYi3OSi8jCSglevJWJNTag==","shasum":"e9398ca798356159f00ab2bb80a6f8ef4264ba2f","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-comparison-to-boolean/download/@putout/plugin-convert-comparison-to-boolean-3.0.2.tgz","fileCount":4,"unpackedSize":4898,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxWwN3a2dhysAKCva0Nh12uIAQf4JsQwssriTOPTwOZgIhAK4qeTG3p3z2vREQW4QINIABw3qZXmGFrd0Ser7yGNm5"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDG3mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhQQ//ak7b1PDL1gBAuVie5vzfvR3CezWnrCPViNwg8YT2QktZC6Vd\r\nv9Z886dl5zGkXe+0o66bqAnm6U6dAW5ussNnX3w4oQu9IlqQLwLJ7Fp3xOCB\r\nfg9jsQiRmuddkxKFEeW0MQgQHhY/NyOZ1JySYlRPJMtAe43Kxc+gcda06w+e\r\nl6zUOCbr0wYYoLVVaZElo/blCbOZK9+Vprl1vVLNGZkF+I6IGS1sKwZBNf/F\r\nafy9vR5rdTXcfLAnJBxUm6mGR5HbBU/8nH4Kc1W+b+WuSL/n1elQRUy9TizY\r\nVrheL+UcfT6icLkYzwV2gMmHloT26OzFFFK1dcSnOLf2LLiZjp6yaMx0+Mqa\r\neuoiLtRP/x+yhcLYBeL0tzBqwluzPW+LBoVgU7ULnSYB5Lja7AlolJ2gT/2+\r\n5bWgx7CX+bPLccpVUi84NoxHL1iUufXJmz6wRocb8lbClHS2pCSVr7VSwfqI\r\nv8MtGsv8bJzK9iCbp+YYKGCMd/il1PcrPpsGExDK6+34aZCoWGwZthRRU6wQ\r\nWyWvAFwXP3Q/Q1aq9WsaB8wQ36Q2xsSzzgINlA3PS5KlVUQ2Tej2KG3338fw\r\nC6Wy5Igt42Lr4ZRhg92oTNyeVrwt670A9no61ImjkvOAeeECthqPXrPUmJCt\r\n11b/aWaOPa/iOV1t4NJjYo94B6AsqYteFNo=\r\n=DUDL\r\n-----END PGP SIGNATURE-----\r\n","size":2268,"noattachment":false,"key":"/@putout/plugin-convert-comparison-to-boolean/-/@putout/plugin-convert-comparison-to-boolean-3.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","tmp":"tmp/plugin-convert-comparison-to-boolean_3.0.2_1678536166442_0.9536043603006656"},"_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":1678536166600,"_cnpm_publish_time":1678536166600,"dist-tags":{"latest":"3.0.3"}}