{"name":"@putout/plugin-convert-comparison-to-boolean","version":"1.1.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to convert comparison to boolean","homepage":"http://github.com/coderaiser/putout","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":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^7.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-convert-comparison-to-boolean@1.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-SdWtIklgJ6nW8pI4zfJa0Gq+rClzmC9ZrXjvLL8Btvfose37OOxnpO779OGQ94L4JE+72T+C8qHi5ThdSS5iaA==","shasum":"e8d06561d2f624578a6d9803a5ce2e930f6ef5b0","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-comparison-to-boolean/download/@putout/plugin-convert-comparison-to-boolean-1.1.0.tgz","fileCount":4,"unpackedSize":4644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgn89/CRA9TVsSAnZWagAARQoP/jnsQIDAzUfrpdzt/XQk\nPDoqtt1vqNlBarFHWo17A9RQLjHRtTtfU6F6qQVTkuVvfNESvgyoRFZhKGAu\nka7vumSlqtWUDXMF+tt0pulp2ND3TxGPOoSBGRcpyyX92dsT37xpN4oJZwtY\nWsHzwQmL8i+N0Qn+nYb21TGU+xQNs24wcpNsm44IVYU6rALxkUsmfD7Pjcpc\nrBsIWpZsmFYm5P0zu1q1JeKUV3SXeXDPErmCEVmQkclYMnAI2VZh1prEVwoy\n7w/lCyFvR28xCUfiwysj9jpWVB1zKCorQSefO/gHPD2as/Rmbyh1w5w3MN9G\nUE+x9zb47hU+oiiPvQrZm7v1HcbOH/cFcQAECx8AlM8r7KCpvbyqjxFHdq0e\nm2Ukslrn/yQjtU9vb6ctQNdoGU3MJuNMZFt+IytqRTtUVQlLZJl9RhpE+FxH\nFOQpdHBvCnZzPU5rRY9raHEZPWFA2DDPhEkldNL9kxhe3ryNsq9Exz5gVeLe\naKYTtN/Dr+P6/s/v4qlKRgtZN2aiujVJJGIcV7sL5xcbSE+TH8LwCE1vOvmU\ngQpjdJqOaJiciamShkogTqcPR0yuemi2wOiQEzlNRAdWr+53eqr7hxt3RMJb\n1Sr26/aofSMzXE0iY6VBMSIb+E89i39kqblNOBKKv8Tp+AnmaDjbdCTI9c87\n8PIn\r\n=fBFZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFdqBhsmg2GwuqVOkhnTHD1ToQgcjfijsL/Yd8z/PZeeAiEAuffhViKMMyRUCRT/69JLnu4Q6KBnna9tVGTFZwQoUMw="}],"size":2081,"noattachment":false,"key":"/@putout/plugin-convert-comparison-to-boolean/-/@putout/plugin-convert-comparison-to-boolean-1.1.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_1.1.0_1621086079326_0.43644064373035696"},"_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":1621086079474,"_cnpm_publish_time":1621086079474,"dist-tags":{"latest":"3.0.3"}}