{"name":"@putout/plugin-remove-unreferenced-variables","version":"1.0.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","unreferenced","variables"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-remove-unreferenced-variables@1.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"http://github.com/coderaiser/putout","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"b9dd9c4200048033a18f5b05fb036316145a8b6d","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unreferenced-variables/download/@putout/plugin-remove-unreferenced-variables-1.0.0.tgz","fileCount":4,"integrity":"sha512-UfGhN2NIWXL9+6ZxTYjKr++dPhGGmAwDEhryGV/uRpac/famH8CHUJgw1eWQnLX+L3fFmmSGpcWCPJIym3GGsw==","signatures":[{"sig":"MEUCICy/yOYwJztiJylya5CnB41TP63oIOBy/+4/SPyb129hAiEAsQNhFmPchM7lp0lE2dh8pk+mw2ZU4tbyvi7GAJEjZTI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9kwZCRA9TVsSAnZWagAAWhsP/1+toniy/DTMsYY9qGoW\nw50axzEymPFSM7bwnPZLPjCNbHB0nnN39qYUIJDjVJdkIoZ6+emLtHy8JdFV\nxTI2Fgsy875NayJVngSXKx5mnNbZtz8812y5oBlbd8/cK+UQy4AfNpS8706d\n2ZQzpmHm9Pa44y3+DZlCqTk0E028rNm4a1VLerRrsOJ3MlSAFJMVOGHZWC7Y\nThnEGH4Yc/8nNJblI/wMUWX8UlY2NOAl77EE4GemvEo+rrO/njKrI0dscfF1\ndUDORQi0NRv6hDbb8yD9Rgz8XARFDzRtpDEutiCkF28scceFn3FwOj1ban50\nq9dYifr2aV0EZsnzHxQ66EKt9Vgw8gBxQJ0/LCqpdJwYF98lrvxXcWPKWxTC\nR6RFABW//92XcCzZU4z9+ItamsUMT5Wefe/V+zHnUReEMck6Imu1gceYHwQ4\nOuiZXJorsQqMvE4AkDjpXpNUWgKRtq7G9aJT535bOLAtIcdJy0du4A4SUpWG\nh9HrYFbbaOM5nPWBu2SUpvXAoI5a7/NoP/Q4n6/K90G5k4PBfVGuX0E3ELoh\nNANeHmCahkCEb0BbuPfw2tw7bGtq/s7pdmXQ/+rwHnl3/ZedcHWICPHbsJ6N\nbWY4vMwNoNIWOvFcWeEv9p8azZxUWda+R2Tl51OWNwRAq9E1tkfV7HoAIiR3\nnYIK\r\n=pH8l\r\n-----END PGP SIGNATURE-----\r\n","size":1884,"noattachment":false,"key":"/@putout/plugin-remove-unreferenced-variables/-/@putout/plugin-remove-unreferenced-variables-1.0.0.tgz"},"main":"lib/remove-unreferenced-variables.js","engines":{"node":">=10"},"release":false,"scripts":{"lint":"madrun lint","test":"madrun test","coverage":"madrun coverage","fix:lint":"madrun fix:lint"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"6.14.4","description":"putout plugin adds ability to find and remove unreferenced variables","directories":{},"_nodeVersion":"14.4.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.1","eslint":"^7.0.0","madrun":"^7.0.0","coveralls":"^3.0.0","supertape":"^2.0.0","@putout/test":"^2.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^5.0.1"},"peerDependencies":{"putout":">=9"},"_npmOperationalInternal":{"tmp":"tmp/plugin-remove-unreferenced-variables_1.0.0_1593199640770_0.16847029417766124","host":"s3://npm-registry-packages"},"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":1593199640907,"_cnpm_publish_time":1593199640907,"dist-tags":{"latest":"6.0.1"}}