{"_id":"@putout/plugin-math","_rev":"4159255","name":"@putout/plugin-math","description":"🐊Putout plugin helps with Math","dist-tags":{"latest":"5.1.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:34:35.000Z","created":"2022-10-20T13:37:07.686Z","5.1.0":"2026-02-04T18:08:56.120Z","5.0.0":"2026-01-19T21:12:31.579Z","4.0.0":"2025-04-03T13:58:30.808Z","3.4.0":"2025-01-03T10:59:31.554Z","3.3.0":"2025-01-01T14:14:38.446Z","3.2.0":"2024-12-29T11:32:23.246Z","3.1.0":"2024-12-28T20:08:23.942Z","3.0.0":"2024-12-28T12:16:46.331Z","2.1.0":"2023-03-29T14:28:40.809Z","2.0.0":"2023-03-08T10:37:06.444Z","1.2.0":"2023-03-06T10:25:27.134Z","1.1.1":"2023-03-04T10:13:09.483Z","1.1.0":"2023-03-03T23:25:05.235Z","1.0.0":"2022-10-20T13:37:07.686Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"versions":{"5.1.0":{"name":"@putout/plugin-math","version":"5.1.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^30.0.0","madrun":"^12.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@5.1.0","gitHead":"b8e2a9c773b9d9794489dfb9dfa627fde0153d1e","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"25.3.0","_npmVersion":"11.4.2","dist":{"shasum":"165c476c1113ce7d3e67eef99afc9c443adc44c4","size":4078,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-5.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-npm-production","tmp":"tmp/plugin-math_5.1.0_1770228535974_0.16568839627752152"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-04T18:08:56.120Z","publish_time":1770228536120,"_source_registry_name":"default","_cnpm_publish_time":1770228536120},"5.0.0":{"name":"@putout/plugin-math","version":"5.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^15.0.0","c8":"^10.0.0","eslint":"^10.0.0-alpha.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^29.0.0","madrun":"^12.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=41"},"license":"MIT","engines":{"node":">=22"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@5.0.0","gitHead":"56565d26d49bb9bf38575d29c36096a668adb19b","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"24.13.0","_npmVersion":"11.2.0","dist":{"shasum":"4334cd91ca88b0b5d3c9a4a17554c9df23b0804c","size":4058,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-5.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-npm-production","tmp":"tmp/plugin-math_5.0.0_1768857151365_0.03648487691903313"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-19T21:12:31.579Z","publish_time":1768857151579,"_source_registry_name":"default","_cnpm_publish_time":1768857151579},"4.0.0":{"name":"@putout/plugin-math","version":"4.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^13.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^26.0.0","madrun":"^11.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=39"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@4.0.0","gitHead":"4c1d8627ba7f3f8c32a6ae20fb9a3aa0df25ac8f","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"shasum":"687aa26667eb519bc4a526443f48803447a39481","size":4038,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-4.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-npm-production","tmp":"tmp/plugin-math_4.0.0_1743688710573_0.8623977832900882"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-03T13:58:30.808Z","publish_time":1743688710808,"_source_registry_name":"default","_cnpm_publish_time":1743688710808},"3.4.0":{"name":"@putout/plugin-math","version":"3.4.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@3.4.0","gitHead":"4c14d34055da65c77eb4326c157af9795e94d26c","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"20.18.1","_npmVersion":"10.9.0","dist":{"shasum":"9921082e818f4619af3f7dcd0bf3a1c37082ef4c","size":4062,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-3.4.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-npm-production","tmp":"tmp/plugin-math_3.4.0_1735901971361_0.7593719593152248"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-03T10:59:31.554Z","publish_time":1735901971554,"_source_registry_name":"default","_cnpm_publish_time":1735901971554},"3.3.0":{"name":"@putout/plugin-math","version":"3.3.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@3.3.0","gitHead":"7c7b5514d3e1347d7d1b50f8c5bb75278f17cfac","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"a6724bf0212809beea7fa1ceaef3763443b11079","size":4029,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-3.3.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-npm-production","tmp":"tmp/plugin-math_3.3.0_1735740878262_0.1008569415276328"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-01T14:14:38.446Z","publish_time":1735740878446,"_source_registry_name":"default","_cnpm_publish_time":1735740878446},"3.2.0":{"name":"@putout/plugin-math","version":"3.2.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@3.2.0","gitHead":"409e6ed5eea87406a585fe0869f8d38acc82b3b1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"20.18.1","_npmVersion":"10.9.0","dist":{"shasum":"811d193f4dc12c024902ea7da2b851e747a68518","size":4023,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-3.2.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-npm-production","tmp":"tmp/plugin-math_3.2.0_1735471943081_0.9314307003985938"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-29T11:32:23.246Z","publish_time":1735471943246,"_source_registry_name":"default","_cnpm_publish_time":1735471943246},"3.1.0":{"name":"@putout/plugin-math","version":"3.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@3.1.0","gitHead":"9fe4146c1260de5c5f63620113e279056c7213a4","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"b0566ba90ef28f578614167604f911cd9feb583c","size":4041,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-3.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-npm-production","tmp":"tmp/plugin-math_3.1.0_1735416503735_0.557640266437075"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-28T20:08:23.942Z","publish_time":1735416503942,"_source_registry_name":"default","_cnpm_publish_time":1735416503942},"3.0.0":{"name":"@putout/plugin-math","version":"3.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git+https://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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=37"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-math@3.0.0","gitHead":"617b1f0faaf3770f935f01bc3ef45f4ee424f36c","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"shasum":"f003c75a22fb1a5f107d872aa103828ed50a889b","size":3986,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-3.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-npm-production","tmp":"tmp/plugin-math_3.0.0_1735388206105_0.7789287097035291"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-28T12:16:46.331Z","publish_time":1735388206331,"_source_registry_name":"default","_cnpm_publish_time":1735388206331},"2.1.0":{"name":"@putout/plugin-math","version":"2.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^17.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"d366ffc394f3c2825115e05bfac8fad41d690a2d","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-math@2.1.0","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"shasum":"870e112a8c9a91bcbcaed5077d74d82789102a4e","size":3336,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-2.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-math_2.1.0_1680100120609_0.6973282616784062"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-29T14:28:40.809Z","publish_time":1680100120809,"_cnpm_publish_time":1680100120809},"2.0.0":{"name":"@putout/plugin-math","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@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","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"862b915492ca14584c212764d96e405f4c023a77","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-math@2.0.0","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"shasum":"f63e85ef72efd69346e34f7270550988f7423b28","size":3204,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-2.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-math_2.0.0_1678271826288_0.1445293208084728"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-08T10:37:06.444Z","publish_time":1678271826444,"_cnpm_publish_time":1678271826444},"1.2.0":{"name":"@putout/plugin-math","version":"1.2.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@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","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=28"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"dfef29057eca8060db677cf4c3bfdbaa335739d6","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-math@1.2.0","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"shasum":"3068f176e2ec38fb59e52df76ac24e4bd4e6705b","size":3210,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-1.2.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-math_1.2.0_1678098326968_0.6916422576835122"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-06T10:25:27.134Z","publish_time":1678098327134,"_cnpm_publish_time":1678098327134},"1.1.1":{"name":"@putout/plugin-math","version":"1.1.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@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","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=28"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"ac4d6ece4d503601cc624ff2dc52719e9854797a","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-math@1.1.1","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"shasum":"1e274dd91b72fc932e4dd98843bab78b515fdd9a","size":3206,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-1.1.1.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-math_1.1.1_1677924789322_0.009539719695122129"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-04T10:13:09.483Z","publish_time":1677924789483,"_cnpm_publish_time":1677924789483},"1.1.0":{"name":"@putout/plugin-math","version":"1.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@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","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=28"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"469a608359add3e8e569c077fc878b63c6d47c66","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-math@1.1.0","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"shasum":"7043c18c2fd79f190c29d6307e09ec0afe06c664","size":3207,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-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-math_1.1.0_1677885905056_0.6634326392811869"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-03T23:25:05.235Z","publish_time":1677885905235,"_cnpm_publish_time":1677885905235},"1.0.0":{"name":"@putout/plugin-math","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin helps with Math","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","main":"lib/index.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","putout","config"],"devDependencies":{"@putout/plugin-webpack":"*","@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","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=28"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"89ea9f19523da2b378e4edfc453390d67e5ed43f","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-math@1.0.0","_nodeVersion":"18.10.0","_npmVersion":"8.3.0","dist":{"shasum":"c5da0ae048731c16de2c691e1b938e8ded6aae41","size":3222,"noattachment":false,"key":"/@putout/plugin-math/-/@putout/plugin-math-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-math/download/@putout/plugin-math-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-math_1.0.0_1666273027498_0.6954155418898853"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-20T14:36:16.369Z","publish_time":1666273027686,"_cnpm_publish_time":1666273027686}},"readme":"# @putout/plugin-math [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-math.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-math \"npm\"\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin helps with `Math`.\n\n## Install\n\n```\nnpm i @putout/plugin-math -D\n```\n\n## Rules\n\n- ✅ [apply-exponentiation](#apply-exponentiation);\n- ✅ [apply-multiplication](#apply-multiplication);\n- ✅ [apply-numeric-separators](#apply-numeric-separators);\n- ✅ [convert-sqrt-to-hypot](#convert-sqrt-to-hypot);\n- ✅ [declare](#declare);\n- ✅ [remove-unchanged-zero-declarations](#remove-unchanged-zero-declarations);\n\n```json\n{\n    \"rules\": {\n        \"math/apply-exponentiation\": \"on\",\n        \"math/apply-multiplication\": \"on\",\n        \"math/apply-numeric-separators\": \"on\",\n        \"math/convert-sqrt-to-hypot\": \"on\",\n        \"math/declare\": \"on\",\n        \"math/remove-unchanged-zero-declarations\": \"on\"\n    }\n}\n```\n\n## convert-sqrt-to-hypot\n\n> The `Math.hypot()` function returns the square root of the sum of squares of its arguments.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/hypot)\n\nConvert `Math.sqrt()` to `Math.hypot()`. Check out in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/a35660f8883687ddfe53f8fbc36706ad/d83e26a547f71128f94af1d3fd542557ce820f1a).\n\n### ❌ Example of incorrect code\n\n```js\nMath.sqrt(a ** 2, b ** 2);\n```\n\n### ✅ Example of correct code\n\n```js\nMath.hypot(a, b);\n```\n\n## apply-exponentiation\n\n> - The [`Math.pow()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/pow) static method, given two arguments, base and exponent, returns baseexponent.\n> - The [**exponentiation operator**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation) (`**`) returns the result of raising the first operand to the power of the second operand. It is equivalent to `Math.pow`, except it also accepts BigInts as operands.\n>\n> (c) MDN\n\n### ❌ Example of incorrect code\n\n```js\nMath.pow(2, 4);\n```\n\n### ✅ Example of correct code\n\n```js\n2 ** 4;\n```\n\n### Comparison\n\nLinter | Rule | Fix\n--------|-------|------------|\n???? **Putout** | [`convert-math-pow`](https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-math-pow#readme) | ✅\n⏣ **ESLint** | [`prefer-exponentiation-operator`](https://eslint.org/docs/rules/prefer-exponentiation-operator) | ✅\n\n## apply-multiplication\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\nCheck out in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/cef45d5cc2bfd0156ed8d483cb6104d9/89ab39b05d3093d399e718f5615efe92f484c538).\n\n### ❌ Example of incorrect code\n\n```js\nconst a = Math.imul(b, c);\n```\n\n### ✅ Example of correct code\n\n```js\nconst a = b * c;\n```\n\n## apply-numeric-separators\n\n> To improve readability for numeric literals, underscores (`_`) can be used as separators.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar)\n\n### ❌ Example of incorrect code\n\n```js\nconst t = 10000000;\n```\n\n### ✅ Example of correct code\n\n```js\nconst t = 10_000_000;\n```\n\n## declare\n\n> The `Math.round()` static method returns the value of a number rounded to the nearest integer.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round)\n\n### ❌ Example of incorrect code\n\n```js\nround(bLength / aLength) > 3;\n```\n\n### ✅ Example of correct code\n\n```js\nconst {round} = Math;\nround(bLength / aLength) > 3;\n```\n\n## remove-unchanged-zero-declarations\n\nCheckout in ????[**Putout Editor**](https://putout.cloudcmd.io/#/gist/2809d116815865ba77a5eea6ce5d8e22/3e040a89a814359b8bfb528cdbcef72f7a29d4ac).\n\n### ❌ Example of incorrect code\n\n```js\nfor (let index = 0; index < n; index++) {\n    const tokenDelta = 0;\n    const templateDelta = 0;\n    \n    for (let templateIndex = 0; templateIndex < templateTokensLength; templateIndex++) {\n        const currentTokenIndex = index + templateIndex - tokenDelta;\n        const currentToken = tokens[currentTokenIndex];\n        \n        end = currentTokenIndex + tokenDelta;\n    }\n}\n```\n\n### ✅ Example of correct code\n\n```js\nfor (let index = 0; index < n; index++) {\n    for (let templateIndex = 0; templateIndex < templateTokensLength; templateIndex++) {\n        const currentTokenIndex = index + templateIndex;\n        const currentToken = tokens[currentTokenIndex];\n        \n        end = currentTokenIndex;\n    }\n}\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-math#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}