{"name":"@putout/plugin-convert-comparison-to-boolean","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to convert binary expression 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/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.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.0","dist":{"integrity":"sha512-knxeGolc4ZG8QLR5N7YPTui9lveetNDcNvo/oz5ikMebfgJsxEWf2375edIheA8hC3q3WzYSsL1Tev5ThgK0Jg==","shasum":"51d0d255ea9ffaca8e7cd0a6751e92bf1c377932","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-comparison-to-boolean/download/@putout/plugin-convert-comparison-to-boolean-1.0.0.tgz","fileCount":4,"unpackedSize":4810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXuSTCRA9TVsSAnZWagAANHUQAIIyywlkpjGVpM1jaAee\n2blJqwIwcUtYWEnSb3p5vK0Z1/gkuemI3CoSOHhVH64FyNM3dxXfNj5nNZ9p\nU1Sr0ZKWRO0aLz8IMDJx+9V19fl9FdRF2nSE0u4maqfFTG6bQmxU4HvGHrfd\nepuVu9bHgtjMIYpn4iQ8+6CuGqovDrdVExHdi27KoJlpZIVJaG3e+mXzlRje\ngptAzBHFZ7ErlvinL1m6ZCz5nVVVt06V195qx+ANKs1TM+xsTQZDQXQ3ZoZO\nWBh1gpg5iQLKVczAxkH9RjP6VSOwhVKlSeDW0mAGxx45AgORYl3HET2hXhBw\n1liW5QfyuUmbJ8iWQUyFpopDXIcIDvnLdumQzPa7W54l8FSgxOdVEYLKONH+\nUaX3MnS7dkgNHS6PswmWo58zoH388L7tuqRrmhfold/fImGzQd56INx/xyPX\n8ySKNlHUrQwJ9cM1m7TOZfb+Bwmx9YJidSTi0c94Ik/2Llw5TM4/xbDr0zh4\nX6NwBVMFunbHvPlWAaoj1mS4eFa06FF1vE28fdhMn7OhQHkJ2HZehdA2xiu9\nGpNvPdQj0zQxvFX9dAlkfynU2DLpX6SR6PeFN+5B5Y+lYkC6BA5jOHY5zZio\nCYUQ9Hs3lN6hMI7dXREdOOAgsLA8xJJ5SqFtd2hfLyansMlQH/XASBQ2a6J/\nVuWW\r\n=Xxk3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIWrOQOHigDbvk9aHTnAFBix4DLlKU/4ApQgX5sHq/xAiEApkMXdw590eeFkqSdxeVr3NazeUhcoF4A90EC4DCYAsc="}],"size":2075,"noattachment":false,"key":"/@putout/plugin-convert-comparison-to-boolean/-/@putout/plugin-convert-comparison-to-boolean-1.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_1.0.0_1616831635341_0.3246529590967129"},"_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":1616831635520,"_cnpm_publish_time":1616831635520,"dist-tags":{"latest":"3.0.3"}}