{"name":"@putout/plugin-remove-unreferenced-variables","version":"5.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove unreferenced variables","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-unreferenced-variables#readme","main":"lib/remove-unreferenced-variables.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","putout-plugin-remove","plugin","remove","unreferenced","variables"],"devDependencies":{"@putout/eslint-flat":"^2.0.0","@putout/plugin-for-of":"*","@putout/plugin-minify":"*","@putout/test":"^12.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^25.0.1","madrun":"^10.0.0"},"peerDependencies":{"putout":">=38"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-remove-unreferenced-variables@5.0.0","gitHead":"7efb79de8df19fab745be2bf6449f1c78f3d6c14","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-jwo50Ll1y5fptK7M41NYQc20gKAu4Hk05vLxxRRVtPq7K+TFeEhlsY6McG0clhsE69DY/53OgC89HhS8FonsFg==","shasum":"c52fcb90d3a293d52c8fc3c25bb66b9c5c5aab99","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unreferenced-variables/download/@putout/plugin-remove-unreferenced-variables-5.0.0.tgz","fileCount":4,"unpackedSize":5866,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFFlokMvUb7/XcdM9wYO7WAVKOtIlb4h8ux3Ybm3S5G8AiEAzaif8NS4xi66teXIUxUezDWH4Bzgb0HAOgF8CBiI5gU="}],"size":2365,"noattachment":false,"key":"/@putout/plugin-remove-unreferenced-variables/-/@putout/plugin-remove-unreferenced-variables-5.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-remove-unreferenced-variables_5.0.0_1742244313375_0.6507889588396696"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-remove-unreferenced-variables [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-unreferenced-variables.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-unreferenced-variables \"npm\"\n\n> A **variable** is a named reference to a **value**.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Glossary/Variable)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove **variables** without **references**.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-unreferenced-variables -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-unreferenced-variables\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nlet a;\nlet b;\n\na = 5;\nb = 6;\n\nconsole.log(a);\n```\n\n## ✅ Example of correct code\n\n```js\nlet a;\n\na = 5;\n\nconsole.log(a);\n```\n\n## License\n\nMIT\n","publish_time":1742244313568,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1742244313568,"dist-tags":{"latest":"6.0.1"}}