{"_id":"@putout/plugin-convert-imul-to-multiplication","_rev":"1-3c586ae26342ae9a6cfd08e549fca977","name":"@putout/plugin-convert-imul-to-multiplication","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@putout/plugin-convert-imul-to-multiplication","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert 'Math.imul()' to operator '*'","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-imul-to-multiplication#readme","main":"lib/convert-imul-to-multiplication.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","convert","sqrt","hypot","math"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^15.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=26"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"583e15ddc2583f8b07f16d71ef18629a8efcc7b2","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-imul-to-multiplication@1.0.0","_nodeVersion":"16.15.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-BCNkkZVDWGr1kS8NDO0XrPplc238UGrzZQMgIKA1Es4oCI0V9UcvQ84ykcLE9sDzMGo+XojxIhl0T1rXUTtfrg==","shasum":"7e462ea4a5b3723f6ae6b5f1a8b2df37b633ac8e","tarball":"https://registry.npmjs.org/@putout/plugin-convert-imul-to-multiplication/-/plugin-convert-imul-to-multiplication-1.0.0.tgz","fileCount":4,"unpackedSize":3914,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICPjP348y5/bcRbVb51I2LfQ3y/LhOpLDPkAjKeJ4ak4AiEAs8R5+5pie3ggdCWWQmrnqEjacv8W6UqBuv4joMZhFrE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiikE4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4lQ//dUZ9bWB8cT3SImF+k9r4GZh4Pah3TqueqnrgKcKXkPQS4J75\r\ntNPvZX3r+ZXHj0jQp4WKiRHag4EUgfFowBy6bbJtENWmCWRS1gY/KO0fNWyn\r\nSaOd4sQxhpTnxeQ4kiYqGYjwL8+0mOaefr66RgbXF3qM8ywjUR4n+d7V1hSt\r\nYtWCnzblPSMrg9hKXkkgw7TSFun68gUjNkNByejZK2oIBbdYg5PnSB0nCP6t\r\n/VHjshl7pG4Lsbs4XCnQoirmWYcCW3Jtl4pHn9NJeRYegHgkVc5zz/hXrG+x\r\nxuSkYRft/1MWPVkIYYdqfQKjKBaFTGACHocDyj4RrvZx0qHhgNXJKv+RPrzM\r\nk1FJ34fMDGKQ6aqtZW8ahs8i3FhjgE8cHyJhmDFHOtPE7KglPCx9FqYUvpoj\r\nbKgtuomtDeCvp/yuhET2IbqPe5rpUFRnlauBzqrnUdswszmGuZ0t9vdr/Pfc\r\no5qCSlAed0AbronsU9Qe9DklcKe4vacRbU2xT2y9jj7yQ8Pjhx5HkLmxIuua\r\nOwq+JrRYdtIGpgE6fqiJkVei3gUdiLjC/ciBUFJrzEu6gX6+ojWcueu0+mno\r\nllQgfnf/2eJ87poA/OLaATerjwbIMTTN3VnmtctkBLR7GpF6WtffXt0vJ3Pd\r\ngIl3Zj28pLpQ7XxNZH20PCP2T2/A31TdbBM=\r\n=TNmv\r\n-----END PGP SIGNATURE-----\r\n"},"_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-imul-to-multiplication_1.0.0_1653227832306_0.6912316254046926"},"_hasShrinkwrap":false},"1.0.1":{"name":"@putout/plugin-convert-imul-to-multiplication","version":"1.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to convert 'Math.imul()' to operator '*'","homepage":"https://github.com/coderaiser/putout/tree/v27.13.0/packages/plugin-convert-imul-to-multiplication#readme","main":"lib/convert-imul-to-multiplication.js","commitType":"colon","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","convert","sqrt","hypot","math"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","madrun":"^9.0.0"},"peerDependencies":{"putout":">=26"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"e4ba505ad1e31f7e58708a60af9cafc46675b89c","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-imul-to-multiplication@1.0.1","_nodeVersion":"18.10.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-VCjEQDnARRu1R0y8lUM1p0C7OOtRA5snk9jjLc32eYoZLTAMkrMcoc9tyPlbnBZTUwmkWQGwecifKubEKtecCQ==","shasum":"00de3b18ad30582e26f8b892de26b052390ea957","tarball":"https://registry.npmjs.org/@putout/plugin-convert-imul-to-multiplication/-/plugin-convert-imul-to-multiplication-1.0.1.tgz","fileCount":4,"unpackedSize":4024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVp3s299TA6MxqF2cBXl7AF8sXf2icx1Ga0Za/ksiL0AiAZute08YwbPOxDq8Oey+J+VU8FEmjJ5BW+rq9FI5jynA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUUv+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMPw/9E1DInzt6NNVMHU/7bKc5dvCAlj+I4qHoKXu+tmOpRdcZ3lXX\r\nkirwiUflVW+HGKNdovg3AOuSDaGDd3KGHY0KrzUKuzAaaPIsm+95v5mrdyEP\r\nlQKRGYdpo/yUkBSS89WatJ8bZOBVa93WVe/5HPg3h/qgrh9HUGQwfsijbySM\r\nRcgncpTVCCFOFDUabMwA73Y4jtF1Wx9GfwoRg6sc0gUS5KOc58hiuv+SWAsD\r\npTJOpD5TQinrjCtc46kAt5N7n7N7qZehoYr+HLkSod3F5+FVtY+XU6m6tXyZ\r\nfgCSxGsK7/319OAZby418pK9PSqJH3ck3enXu/rhIwevi5KPUl6r9s7nIK4U\r\nwlDii4xnF0RepLHy0uUYl4a9QWFHcyB4B+raQKQ/Dulpok96zG6XEjeJbj8I\r\nzgm8eRHX6rfmmj3n9gRyRjmI7zkMPQ8FtZRb1yvXV/PipmmGzzotaG4oXk8f\r\nnhQnHcxm6PNpTQVJrfGazq51YN8gUAkV/59m8RqgwxM8Mcmwg7NCyhoYVlgb\r\naDEg8BDrIJqi7pSdgPaIEWRAwnGbs2WrygJOE2B3vghQqidOe2ZdVc3uEpvt\r\ng717NcxDzKBYMaqQbGgbwm7+Pnxj0zCYiXjrv+WHk9qbgcxYWyn3JNrIaSm6\r\n3ZvTsSJ2/kvQ0z9ZAjhPKrONqIUSuRPuSxM=\r\n=MOB1\r\n-----END PGP SIGNATURE-----\r\n"},"_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-imul-to-multiplication_1.0.1_1666272253910_0.9380806954119516"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-22T13:57:12.261Z","1.0.0":"2022-05-22T13:57:12.474Z","modified":"2022-10-20T13:24:14.260Z","1.0.1":"2022-10-20T13:24:14.108Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"🐊Putout plugin adds ability to convert 'Math.imul()' to operator '*'","homepage":"https://github.com/coderaiser/putout/tree/v27.13.0/packages/plugin-convert-imul-to-multiplication#readme","keywords":["putout","putout-plugin","plugin","convert","sqrt","hypot","math"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-convert-imul-to-multiplication [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-imul-to-multiplication.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-imul-to-multiplication \"npm\"\n\n> Multiplying two numbers stored internally as integers (which is only possible with **AsmJS** with imul is the only potential circumstance where `Math.imul()` may prove performant in current browsers.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to convert `Math.imul()` to `*` operator.\nCheck out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/cef45d5cc2bfd0156ed8d483cb6104d9/89ab39b05d3093d399e718f5615efe92f484c538). Merged to [`@putout/plugin-math`](https://www.npmjs.com/package/@putout/plugin-math).\n\n## Install\n\n```\nnpm i @putout/plugin-convert-imul-to-multiplication -D\n```\n\n## Rule\n\nRule `convert-imul-to-multiplication` is enabled by default, to disable add to `.putout.json`:\n\n```json\n{\n    \"rules\": {\n        \"convert-imul-to-multiplication\": \"off\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst a = Math.imul(b, c);\n\n```\n\n## ✅ Example of correct code\n\n```js\nconst a = b * c;\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}