{"_id":"@putout/plugin-remove-useless-templates","_rev":"4155195","name":"@putout/plugin-remove-useless-templates","description":"🐊Putout plugin adds ability to find and remove useless template string","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:23:41.000Z","created":"2020-01-03T10:56:27.282Z","2.0.0":"2025-05-05T12:06:50.880Z","1.0.0":"2020-01-03T10:56:27.282Z"},"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":{"2.0.0":{"name":"@putout/plugin-remove-useless-templates","version":"2.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability to find and remove useless template string","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-templates#readme","main":"lib/remove-useless-templates.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","remove","useless","template"],"devDependencies":{"@putout/eslint-flat":"^3.0.0","@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"},"peerDependencies":{"putout":">=40"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-remove-useless-templates@2.0.0","gitHead":"85533c9c28d30931f18097666b9148babe560425","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"23.11.0","_npmVersion":"11.1.0","dist":{"shasum":"f1d83380ca1f022f55e25bdb7af874758e7b4d2d","size":1755,"noattachment":false,"key":"/@putout/plugin-remove-useless-templates/-/@putout/plugin-remove-useless-templates-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-remove-useless-templates/download/@putout/plugin-remove-useless-templates-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-npm-production","tmp":"tmp/plugin-remove-useless-templates_2.0.0_1746446810604_0.17554476133351016"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-05T12:06:50.880Z","publish_time":1746446810880,"_source_registry_name":"default","_cnpm_publish_time":1746446810880},"1.0.0":{"name":"@putout/plugin-remove-useless-templates","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability to find and remove useless template string","homepage":"http://github.com/coderaiser/putout","main":"lib/remove-useless-templates.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","coverage":"madrun coverage"},"dependencies":{},"keywords":["putout","putout-plugin","plugin","remove","useless","template"],"devDependencies":{"@putout/test":"^1.16.1","coveralls":"^3.0.0","eslint":"^6.2.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^3.0.0","madrun":"^5.0.0","nyc":"^14.0.0","supertape":"^1.0.3"},"peerDependencies":{"putout":">=7"},"license":"MIT","engines":{"node":">=8.3.0"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-remove-useless-templates@1.0.0","_nodeVersion":"13.5.0","_npmVersion":"6.12.1","dist":{"shasum":"0efb32ccc02d5a9626c2a2ae6b4b29529062fce7","size":1719,"noattachment":false,"key":"/@putout/plugin-remove-useless-templates/-/@putout/plugin-remove-useless-templates-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-remove-useless-templates/download/@putout/plugin-remove-useless-templates-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-remove-useless-templates_1.0.0_1578048987195_0.5551013682495987"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T12:43:04.833Z","publish_time":1578048987282,"_cnpm_publish_time":1578048987282}},"readme":"# @putout/plugin-remove-useless-templates [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-templates.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-templates\"npm\"\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and remove useless `template string`. Nut bundled to `putout` (by default `convert-template-to-string` is used).\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-templates\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-templates\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconsole.log(`${str}`);\n```\n\n## ✅ Example of correct code\n\n```js\nconsole.log(str);\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-templates#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}