{"name":"@putout/plugin-convert-comparison-to-boolean","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 convert comparison to boolean","homepage":"https://github.com/coderaiser/putout/tree/master/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":"^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":"603a9918b81bbb742599719a5e330272c23fad58","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-comparison-to-boolean@3.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"integrity":"sha512-C48UsMW71YNNcVUHS8fS3kDIcGqaTrx27bx1Y/MwkmlolWGSlvpwa56SrbqVnNxo+pyRBqbwLruksNLUjgxK9g==","shasum":"7dda43212a797f1170e9096bd89078012d22214a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-comparison-to-boolean/download/@putout/plugin-convert-comparison-to-boolean-3.0.0.tgz","fileCount":4,"unpackedSize":4808,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiXlN6piXZ1mFTNEgqUDPJYdVFtdiKIqlHZtf8nM9eEwIhAK0fypdHqTFFvgGvLWxvzUaHp4zwgb0c/TK7C+KZJiTR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRcVGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpL5w//aVaGW6F57v1CkvSlrsQZb3JxofAJ5+bN+7kEQghMQG4jg7ot\r\n3GHpf5ZA2S2yNG/W2eDIaOw4Ns7x842HmeQqOxzZ7qbb1n+Fm45fwQElxy7h\r\nLpVwYZD+TK8x7mv+m1reGtI+zQHGZuP6OSSL5frDZqOoh6MaNpFMBisCaAFB\r\nDgHQ0ImsNF6asHCLW9ceYKJRwCx3mPyt+MvJkCm61uSz1ZuFcA71cUBeJVTw\r\nVlksFyPhcmS/6RQdFZtY+L+85eQO7Ezw9OjDr5wD6ogIMcgxgfcnJFSSZyQP\r\nhJl/827AdsKviDRa4wDtxmJ0vQhxRzDNwYw/x/Uza8PhocLdES7xtECFYwCh\r\nLakImol8swkxn7kTYZ2GayglsQRRb85Cysm1V/LV7BDKmH9/T9lzHzXaEp3W\r\nQg31UfTos89GC6fPlGkHbPt3k/WOTSNhGFb0IPWcG1BTe7k4dhHBeeSvNH9M\r\nUNPSyREupbCHmK2+MP69NMJdNNqHDS/JeRFGkJETqwYhehsngmL+v+4nWR5X\r\nP7du+DoYPb5juXfmeXknupRgnflOcU29CqT0h87k2CCa8mvNwlTNEMK416wj\r\nZxfs2x0x9tQQC777A1XBlIq8yIRUGWD3eUQ44wx3YPXBRCJbX4aMfA4BXWfn\r\ndR9xNXIEw3/gC+kkGPqpV8UuIGRc0XvPOow=\r\n=GApd\r\n-----END PGP SIGNATURE-----\r\n","size":2239,"noattachment":false,"key":"/@putout/plugin-convert-comparison-to-boolean/-/@putout/plugin-convert-comparison-to-boolean-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","tmp":"tmp/plugin-convert-comparison-to-boolean_3.0.0_1648739654418_0.11475706427334353"},"_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":1648739654574,"_cnpm_publish_time":1648739654574,"dist-tags":{"latest":"3.0.3"}}