{"_id":"@putout/plugin-remove-useless-templates","_rev":"3-972cb4a11017f5a0804464527e994b52","name":"@putout/plugin-remove-useless-templates","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@putout/plugin-remove-useless-templates","version":"1.0.0","keywords":["putout","putout-plugin","plugin","remove","useless","template"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-remove-useless-templates@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":"0efb32ccc02d5a9626c2a2ae6b4b29529062fce7","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-templates/-/plugin-remove-useless-templates-1.0.0.tgz","fileCount":4,"integrity":"sha512-9Ov1M9LOfVlIXLypnAp90+OORx+RzIckWCfSloX/+fupADlTuleCldbaJq5RK3qKgHltk/XE4rPkSIqsunSVUQ==","signatures":[{"sig":"MEUCIQCYXosSXNtSNvYFCF4hngtIb+YZV8R9OtrtVtHw9knxrQIgLFuL8xjg93jj/KL6CE/sXjBW33a8qekLSgL8Mkg7tiU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDx3bCRA9TVsSAnZWagAA7RcP/2ulBwLHmF/F0bjVb0Ux\nuAM8fJO7tn8ABxwcH00Q/RB7NjQDoGolhMpw0b3+g0zuIKABl6FXI9Xv4peQ\nvlmQwE0/E1fjUZHhD3W1c/aesnW1v2E75cFGssL0HHZeP40EAoEaJN9TV2tq\npLql9KEkumHkOsDvqyb34srhIwNnrgVfdMV7fnU5FNxnJhMHtWllWfCVft2H\nT/qudyqeADnZhDoYa041wG0OeRUVvQ1GqmWJCEMMSRoPyadNfKLoGBj+fezV\nJQ3T2ARdHVkMcsHSBJwIMEfmuuI5+HYfp9mUj1c/r3hDBNlWebt7mZ32pZGA\nrh+GgGs3wYuvHg9hXvytjP4CbZl8f4XATri+VsGUWhn2cTFyEAu+kCpfWxtv\n7/y7218edXO4O3i3BqGO3FAxk1sv5NMH9Y36r8SGN/r9gYpF4jpOBu68sm5+\nvr/lkoUZor+XPNR3nHHVoK+x2kK04zCLo36WJSehfDm1vkk4oIOYLcGzc2kO\nKJVinpo5ZED0popwGwYkiwn4fqI407+Caqoe4CpWFktudO1EMfXi8rdogcyK\nL6Qg51m+k4ja8jiFoAL2+53w3YXbFUp98yVJmrPK1WfnffPGcY10Z5bd3R6T\n1nt212geOkv7+wrGptXD2lWmQN2z5t4YX/nhQSfBvAjEUgjWEG0mxxefhvLG\ngDmQ\r\n=HwbQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/remove-useless-templates.js","engines":{"node":">=8.3.0"},"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.12.1","description":"putout plugin adds ability to find and remove useless template string","directories":{},"_nodeVersion":"13.5.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.0.0","eslint":"^6.2.0","madrun":"^5.0.0","coveralls":"^3.0.0","supertape":"^1.0.3","@putout/test":"^1.16.1","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^3.0.0"},"peerDependencies":{"putout":">=7"},"_npmOperationalInternal":{"tmp":"tmp/plugin-remove-useless-templates_1.0.0_1578048987195_0.5551013682495987","host":"s3://npm-registry-packages"}},"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":{"integrity":"sha512-Kiydld6BpMw806K1BgAQ6xoOKwQRwURvEQQJnJ5h/2vUakY73341lAuH/nqvICuruSbZw27p3idLQoo9y1fZ9g==","shasum":"f1d83380ca1f022f55e25bdb7af874758e7b4d2d","tarball":"https://registry.npmjs.org/@putout/plugin-remove-useless-templates/-/plugin-remove-useless-templates-2.0.0.tgz","fileCount":4,"unpackedSize":3390,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCmU+04NuGnOrY/Jv4NNUG+9QPFMusiPWVVVVNrNkn4CgIgAVaKTbiWXb+Cm5FjMK+mqlXb+0leiuZJp3Dfix8yQwA="}]},"_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}},"time":{"created":"2020-01-03T10:56:26.962Z","modified":"2025-05-05T12:06:51.073Z","1.0.0":"2020-01-03T10:56:27.282Z","2.0.0":"2025-05-05T12:06:50.880Z"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"license":"MIT","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-templates#readme","keywords":["putout","putout-plugin","plugin","remove","useless","template"],"repository":{"type":"git","url":"git+https://github.com/coderaiser/putout.git"},"description":"🐊Putout plugin adds ability to find and remove useless template string","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"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","readmeFilename":"README.md"}