{"name":"@putout/plugin-remove-useless-template-expressions","version":"3.0.0","keywords":["putout","putout-plugin","putout-plugin-remove","plugin","template-expressions","useless"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-remove-useless-template-expressions@3.0.0","maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-remove-useless-template-expressions#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"31af64a1b4dc9b7abb4acc4e1a6330442ab2c749","tarball":"http://registry-npm.ywwl.com/@putout/plugin-remove-useless-template-expressions/download/@putout/plugin-remove-useless-template-expressions-3.0.0.tgz","fileCount":4,"integrity":"sha512-BzsP0Jg6tIlMUf9iMBKhFGe7TrOJ05HUfn/N6xYtpParl3oJMBNj+7AtYfdJH+JFSpJQZNO2uUggvLbgrUNm2w==","signatures":[{"sig":"MEQCICAjPG3a7Fr3u4Qk6/3loTTS5+oP+Xpe091zP/DHWdP6AiB0My8EmU0hattuHY3trGkDQrcjAON9UC3tkDuhArv3jQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4913,"size":2216,"noattachment":false,"key":"/@putout/plugin-remove-useless-template-expressions/-/@putout/plugin-remove-useless-template-expressions-3.0.0.tgz"},"main":"lib/remove-useless-template-expressions.js","type":"module","engines":{"node":">=20"},"gitHead":"514a15ea164f081e9f5905418509da0037ef0cf7","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","publishOnly":"madrun publishOnly"},"_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 remove useless template expressions","directories":{},"_nodeVersion":"23.11.0","dependencies":{"eslint-plugin-putout":"^26.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","eslint":"^9.0.0","madrun":"^11.0.0","@putout/test":"^13.0.0","eslint-plugin-n":"^17.0.0","@putout/eslint-flat":"^3.0.0"},"peerDependencies":{"putout":">=40"},"_npmOperationalInternal":{"tmp":"tmp/plugin-remove-useless-template-expressions_3.0.0_1746551229322_0.05144925800471789","host":"s3://npm-registry-packages-npm-production"},"readme":"# @putout/plugin-remove-useless-template-expressions [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-template-expressions.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-template-expressions\"npm\"\n\n> Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to remove useless `template expressions`.\n\n## Install\n\n```\nnpm i @putout/plugin-remove-useless-template-expressions -D\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"remove-useless-template-expressions\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst y = `${'hello'} + ${'world'}`;\n```\n\n## ✅ Example of correct code\n\n```js\nconst y = `hello + world`;\n```\n\n## License\n\nMIT\n","publish_time":1746551229482,"_cnpm_publish_time":1746551229482,"dist-tags":{"latest":"3.0.2"}}