{"name":"babel-plugin-transform-simplify-comparison-operators","version":"6.10.0-alpha.a24dd066","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.a24dd066","dist":{"shasum":"3ff0623146d7194d11508c2c4810635758e9577c","tarball":"http://registry-npm.ywwl.com/babel-plugin-transform-simplify-comparison-operators/download/babel-plugin-transform-simplify-comparison-operators-6.10.0-alpha.a24dd066.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\nwsFcBAEBCAAQBQJbHjqICRA9TVsSAnZWagAAPAEP/iGXrPBMzGnXSObK8Tn3\nJOKiP1LOZltqdVn+2PkfG9E2WtDufA5iiDJNHUcnMP2rhuD7ixEpU6s9NGj7\nA0L3I7dtvGR1bdjzMxsQuREz70Lhre9kS8CdL3c9mIef8sv/BitNNlAiUqE7\naRtWq3i9aqhFJ+PgdWuSrpxTqQm1gapacVrLbzwnAeWvPa/2b+QvBMaTWbgT\nzioRewm91WbSELCwNCUnlsFh74Q+CoEOFthNj1ZOwxHuFyVTjaG48AyWop9E\npHTeY1D5fMUOGFHRHuN+Vh4iSY6g8oGo3pcz+HqzPiCu2Cd5IN+mA+6yubGW\ne4N5SSwvFBEDd1EWrzyZVkjSRV/LEqPG2QL4Cysu/VUm2lKK+n6qn4f7Xjav\nYX8ZZXfVtxL5DS9oHpU2WAp8/LPJiadXUoJ+JYGpU5wU4dGIrO8M9TNlv++l\nQJ97BzEtM8lgRa0tR345F4L+9OU5oNciNbmtQoCyaZBmJcs6ixRkadmcMykA\nwhvEkj+y41aRoWzoGq13d15jjkCZCE9DL7X8em6F/xH0nE/lig6HCDaaIdUe\nUizKd9qCBdz72sNoVQ+phttQinzriakMu7BbRt+1gIFZ5/FAy7XjyDDrpAjZ\nGUBKKYxeNj4/v2lOHvIzwnyxqaJBcCdTXSNgrLo2tQSHsi79xWg6xLYyMscX\n0L36\r\n=RTjv\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-CI2Gwgi8VyMKGJpP75Kght6QrnAuhnHlvoG+udUvjJWLZyeWOX8EAiVHNFxN7VcAJ1RWXzGYsXyJwBA5TeGv+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYWIijvbD5BaoEiMYFXAVo3ymOucqKfoAE3pKuoVvsgAiEAv91YvsiVKap8i51+7YB6o6H3yEmZuxQiB58WuWaedjk="}],"size":1749,"noattachment":false,"key":"/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.10.0-alpha.a24dd066.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.a24dd066_1528707720009_0.21376608574863498"},"_hasShrinkwrap":false,"publish_time":1528707720067,"_cnpm_publish_time":1528707720067,"dist-tags":{"canary":"6.10.0-alpha.9","latest":"6.9.4","prerelease":"0.0.3"}}