{"name":"@putout/plugin-remove-useless-for-of","version":"2.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to remove useless for-of","homepage":"https://github.com/coderaiser/putout/tree/v28.19.2/packages/plugin-remove-useless-for-of#readme","main":"lib/remove-useless-for-of.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"publishOnly":"madrun publishOnly","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","putout-plugin-remove","putout-plugin-remove-useless","plugin","for-of","useless"],"devDependencies":{"@putout/test":"^6.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":">=15"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"6bbff109c4ce2bbdddad0500f27a762477aa60da","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-for-of@2.0.1","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"integrity":"sha512-hdkyKydeiN6LAHMHEHJXfewChaIlmtmtujsRav7pOkW+8JneNvr8/5SbUBz8rJ/sdKWkkKpCY/RTUuK6F+NrQw==","shasum":"aa2cfc654b5e45eab88210ce179bcc84bd12f4e3","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-for-of/download/@putout/plugin-remove-useless-for-of-2.0.1.tgz","fileCount":4,"unpackedSize":5035,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9CUmJFeQymWke+gAzQsCol5nFwZd9RKq5beaa3QsIKgIhAPhirG+09XN45mRqBnrjiLLT9cG9vvs5Ow9iSo9FM5a5"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkDO0YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpr/Q//fcj+lY90ysvm3ATRcM55K6pphySkQ3juKxY84LX4HtbrAbpn\r\nmRplMyJFoMRAVvQW6wYo2eiZNqBe/BvdWZZ1JBG4mLgG7EhW1wKL440+Z0lY\r\nCb18miU1qrbO1WaljcKisrNus8eXZjSCWw0N3k13uAxqP9/9UbbcnIV4Ag7/\r\ny/iU2X2CHXYgrQXY/v3lWbDCF+F+TrG3cxFCYqqyLMX9VXzRsb9P+Oxrp0BG\r\nX6hC85YvLJnACOTnxeY7rq0/fyuP6hoS71KcUtidF3Rt/gCzPr41GmRrsc0v\r\nMbnA1QEnwM31g/yEt9bD7EyWYcCAvAtsaKmFXPLODkGWUgIfrQDXwCGu9bOo\r\nIbbTgH8B2EwnAianTzRxGQcN36VZalD8kRbLFKJqHmG1/TIZTLP5z7H9JUWT\r\nMyKHPbSmivYHb7TrZomZnxPB0wQ91zjrtArCv+Cp0W8cg0lzRKgFDZWQJ0WL\r\naB3aH1I4Lin1bOqh0qhbLmvDUm7x9OOMUwUiuXdG71nKQjNDUlTTquvVoOs4\r\niyYdWjjSYyXv3+A67HposkERSCs1AgiRa0aAvmA5uBB4/MJ5BybDA70i/MIL\r\nZQ6uvNup7ujqLB89DgxYuSg+6v4xRvjFxBKNLavk3bG6Hwcp/HG5uwK/cshy\r\n7MY+IYXdOuaT1sUB8rwBBx30JIWc+fX8akA=\r\n=IeUN\r\n-----END PGP SIGNATURE-----\r\n","size":2189,"noattachment":false,"key":"/@putout/plugin-remove-useless-for-of/-/@putout/plugin-remove-useless-for-of-2.0.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-remove-useless-for-of_2.0.1_1678568728339_0.8066311352251911"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-useless-for-of [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-for-of.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-for-of \"npm\"\n\n> The `Array` enables storing a collection of multiple items under a single variable name.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to remove useless `for...of` statements. Merged to [`@putout/plugin-for-of`](https://www.npmjs.com/package/@putout/plugin-for-of).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-for-of\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-for-of\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nfor (const a of ['hello']) {\n    console.log(a);\n}\n```\n\n## ✅ Example of correct code\n\n```js\nconsole.log('hello');\n```\n\n## License\n\nMIT\n","publish_time":1678568728545,"_cnpm_publish_time":1678568728545,"dist-tags":{"latest":"2.0.1"}}