{"name":"@putout/plugin-convert-template-to-string","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/convert-template-to-string.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":"^11.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-convert-template-to-string@1.0.0","_nodeVersion":"13.8.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-Oh/MN4Irc6b3qafOSh3VQ+qw/DVZq2FSKt200XKpJw1HXcUk8RpPxNnG3xTpn2vTe/qK2e4VDtlLgdxUNo0onA==","shasum":"4f00d13b762c775903ccbfcb941b8b8ad684b2cb","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-template-to-string/download/@putout/plugin-convert-template-to-string-1.0.0.tgz","fileCount":4,"unpackedSize":3448,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeS+NMCRA9TVsSAnZWagAAxBMP/1vXlDVpYQkKdW4CdHdT\nozgNgdnGp/mmzIJBjLlP4SG5TtH+PEpHIIEIrtGQLNC9aC0TP02FmtVxLW6Z\n4ebhy0LP6c8F0vsj6yAlJVLIkRBYoa0v8FRCreixIQHYn2ZoPUviaBkFBvdx\nw8tMdKmmfy9ERzVPxKv3N1fr3EU3nDAYyeef4WM8qYqtXEqxFSFNY6dCQ4Wn\nnHWnM6ldBpg5i6kIig73+PBMrJPk63bRYLibHhlL8kNUvqmSbS8hcMg4riFy\nryG4frC9Qp/wfiY+vPniYzjbhwvN6aab1BIJ0heCE6x8IML2lVBWrknI0tjQ\nGNFD2w1ecbTKDE/5L/bLZqqYr/6/xPJUlZ44DD7FrRP8cj7Z+XPkLXaiotuS\nRROM+R6DCdqirxClylc1ab/U5TC1ZqxZvcXvpTEKZIVT3L+A3LGpBR34p5Kr\nsr+7jSy91LxRuFrlgLiRkdyL+5Oc1xHOulIjh8n4qYACwKZ3RriOt63ej7sa\n2catqPky4uI5GIEAp8s80ajbVdt1CiFCfRS9TslG2IE+qR/fr7pkH/ZTxpE5\ncOaYbFV+zch25az5LyCA4c2pEdQ1Zy639i80WNTUpqrPpEg3MKqt4DvtuYXd\nXw32fLzEHuvXeQaPGJRhYrHRLKUv1O4Urrwojv/hI76Ts5w40bqnh7pv4tyT\ncMBR\r\n=JohV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjialTV+sCKjBWpaUQl/rXqZW1LfRTijfgr6cFYmhAWAIgPx0Gexq5YIAOXa325CiH8dBCPjbTZLsdJ/5oNGzZKAY="}],"size":1732,"noattachment":false,"key":"/@putout/plugin-convert-template-to-string/-/@putout/plugin-convert-template-to-string-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-convert-template-to-string_1.0.0_1582031691765_0.09489982579342415"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-convert-template-to-string [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-template-to-string.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-template-to-string\"npm\"\n\n> - [**Template literals**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) are literals delimited with backticks (`), allowing embedded expressions called substitutions.\n> - The [**`String`**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String) object is used to represent and manipulate a sequence of characters.\n>\n> (c) MDN\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to find and convert **Template Literals** to calling of `String` constructor.\n\n## Install\n\n```\nnpm i @putout/plugin-convert-template-to-string\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"convert-template-to-string\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst s = `${a + b}`;\n```\n\n## ✅ Example of correct code\n\n```js\nconst s = String(a + b);\n```\n\n## License\n\nMIT\n","publish_time":1582031691921,"_cnpm_publish_time":1582031691921,"dist-tags":{"latest":"3.0.0"}}