{"name":"@putout/plugin-remove-unused-expressions","version":"12.0.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","remove","unused","expressions"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-remove-unused-expressions@12.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-unused-expressions#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"cbf8b0089a1700282d570390c98b2f3f55d6a11a","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-unused-expressions/download/@putout/plugin-remove-unused-expressions-12.0.0.tgz","fileCount":4,"integrity":"sha512-EYUmed/kmmHADaRzm/abuwC3C/pAhTCW6XhNOX0H5I23upvCUomI1mcua4R0eufZrOESH0kUFv9dkkv8ng3qEg==","signatures":[{"sig":"MEMCHx15ajiUIcZESLICxCMkjuwSCswHKYsTb2u0JDxKzEkCIGnz+RblX6BPaCzyjl18dpI5Vv0Vkug4bpHdAFGMuBHf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6055,"size":2387,"noattachment":false,"key":"/@putout/plugin-remove-unused-expressions/-/@putout/plugin-remove-unused-expressions-12.0.0.tgz"},"main":"lib/remove-unused-expressions.js","type":"module","engines":{"node":">=20"},"gitHead":"699b31e6af48f6e1284bc2bcc79c37672e10a888","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"11.1.0","description":"🐊Putout plugin adds ability to find and remove unused expressions","directories":{},"_nodeVersion":"23.11.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^11.0.0","nodemon":"^3.0.1","@putout/test":"^13.0.0","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^3.0.0","eslint-plugin-putout":"^26.0.0"},"peerDependencies":{"putout":">=40"},"_npmOperationalInternal":{"tmp":"tmp/plugin-remove-unused-expressions_12.0.0_1748175129488_0.07322623180958998","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/plugin-remove-unused-expressions [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-unused-expressions.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-unused-expressions\"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove `unused expressions`, excluding directives: [`use strict`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode) and [`use client`](https://react.dev/reference/rsc/use-client).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-unused-expressions -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-unused-expressions\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nfunction show(error) {\n    showError;\n}\n```\n\n## ✅ Example of correct code\n\n```js\nfunction show(error) {}\n```\n\n## License\n\nMIT\n","publish_time":1748175129683,"_cnpm_publish_time":1748175129683,"dist-tags":{"latest":"13.0.0"}}