{"name":"babel-plugin-transform-simplify-comparison-operators","version":"6.10.0-alpha.5f601890","description":"Convert === and !== to == and != if their types are inferred to be the same.","keywords":["babel-plugin"],"homepage":"https://github.com/babel/minify#readme","bugs":{"url":"https://github.com/babel/minify/issues"},"license":"MIT","author":{"name":"amasad"},"main":"lib/index.js","repository":{"type":"git","url":"https://github.com/babel/minify/tree/master/packages/babel-plugin-transform-simplify-comparison-operators"},"readmeFilename":"README.md","readme":"# babel-plugin-transform-simplify-comparison-operators\n\nConvert `===` and `!==` to `==` and `!=` if their types are inferred to be the same.\n\n## Example\n\n**In**\n\n```javascript\ntypeof foo === \"object\";\n```\n\n**Out**\n\n```javascript\ntypeof foo == \"object\";\n```\n\n## Installation\n\n```sh\nnpm install babel-plugin-transform-simplify-comparison-operators --save-dev\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-simplify-comparison-operators\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-simplify-comparison-operators script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"@babel/core\").transform(\"code\", {\n  plugins: [\"transform-simplify-comparison-operators\"]\n});\n```\n","_id":"babel-plugin-transform-simplify-comparison-operators@6.10.0-alpha.5f601890","dist":{"shasum":"6a90a0cf1914ddb388a7c1bd9ae92e4481c68f78","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-simplify-comparison-operators/download/babel-plugin-transform-simplify-comparison-operators-6.10.0-alpha.5f601890.tgz","fileCount":5,"unpackedSize":4475,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9CfoCRA9TVsSAnZWagAAcvIP/1VWobJPrsmPJczMMLsj\nMBbEm8ubAU7/yWvkHbAbh+2D7NotlN5OATMyEr9/zBLTRMgKbi+sJF0hMAtG\npyK79UY8jRJgnytI8AoaQ/7Ejqqs0mAEhos45LBp9VjxHG1EyNLWyxZEeFX4\nOsZ3MylD7AfY6WwRefA1QowmCJpEfgSTskSUhAxhp9PvMU3V0eL0J03ujrJL\ngJvP8vbf7GeijxhmZvNjLw1xgnVnwiLh5Z7pPfdixSM0C4pvriItKBcOLjOT\nD1rVtYwfnmPA1xJsKWZv1vLiJI83fqdtz5br3EOJ+S2+JyGF2bGPnXtQ5uR7\nAMp+EHW7pMe3FGUvPX7HQX5WMfA1izRm6Rfu9gMvFf8KReWzIR7TpfOvLhsf\nQY+NpZf5M5go2uT59VfdCIwmBL+B5shf8mtylhAxvjKhPxgGWS4PIv9I5ZMs\nAQbQeeUz8cLJ/wAsTbviZ+5Sqzz0Gg6Z94D6fX50GE2CyHitdseQJvcrDVXq\n5NsKNNOrfig7Bz0Jx+PrA40+NtyLUopky64pNS9RkWbN7mVVr2xMTxycrHeN\n5WhbZ/kVGq8M2f4JTWHAwWiuivBuPG8y7eNvZ0CL+SpUY9/0vYQioO7a/7TU\n9eXNdhixh/TtJsg7voVSuV5AyLgbSzt0e7wO+1vwQ57lxd3yXX8aDK0fuqBf\nXnNU\r\n=o/wE\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-xtOhHu6bNK3JMH1XvL2wBoQ/OqhAd6TOdSjdLhKKfchNUynFhs8WlYiU4WDaCaD9vB1BuQfq4ni/zHpWosGPeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3SnyWXld2AQhfaLuv9OM2AMi+qqQs/SarrGdm50BWTAiAgyfKkvVg9x0IjxQbp4utsE1fB2Ltv7TR5ot3eRGQTfw=="}],"size":1752,"noattachment":false,"key":"/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.10.0-alpha.5f601890.tgz"},"maintainers":[{"email":"asciiguyfieri@gmail.com","name":"babeljs"},{"email":"me@boopathi.in","name":"boopathi"},{"email":"hi@henryzoo.com","name":"hzoo"},{"email":"loganfsmyth@gmail.com","name":"loganfsmyth"},{"email":"vignesh.shanmugam22@gmail.com","name":"vignesh.shanmugam"}],"_npmUser":{"name":"babeljs","email":"asciiguyfieri@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-simplify-comparison-operators_6.10.0-alpha.5f601890_1525950439906_0.9258721786670379"},"_hasShrinkwrap":false,"publish_time":1525950440004,"_cnpm_publish_time":1525950440004,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","prerelease":"0.0.3"}}