{"name":"@putout/plugin-montag","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability apply 'montag'","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-montag#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://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","putout-plugin-apply","plugin","montag"],"devDependencies":{"@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^16.0.0","lerna":"^6.0.1","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"1ad7f165d4020961697506e818587ab816b525c5","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-montag@2.0.0","_nodeVersion":"18.14.2","_npmVersion":"9.1.3","dist":{"integrity":"sha512-e0l8ZlxXbn+5Y+hmcrou0ubU3dBou2hDivSHRjL8RQdRlbS/miPVioe2UI5yiK4ogFavFnbd3GgGHkwQmcyd3g==","shasum":"ccce74e31e94c88cc5e9000bf95e05251d736890","tarball":"http://registry-npm.ywwl.com/@putout/plugin-montag/download/@putout/plugin-montag-2.0.0.tgz","fileCount":6,"unpackedSize":5125,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICrkl42Cb/n/8Ct/co9PIbo97raUaobu3ejoZLFjc3HYAiEA+q34nyttiTwaaQSfXumhKzJO/k66x6U9o/v0+B/gMno="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkCxWUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqe/w//W+aovPlto//Z6qgJC0LcL/buoTZoIkV6LXGP5fnUCmpRTdED\r\nGfn3y5DDemWzqwVRwd43kVThJ3B/Hr3GPg2lfgWXHFInXViv6TIxARUm3JFZ\r\n8HuI6kdql6m+reWLV78gCYT0emFi4PX25MpbknLEFIiUjiwk1Lf1jkGxVLma\r\naoOyLEUaUx0Zd7i0RdeHuQyDIESLwRJjMRuk3zrf10RtLL5ud4138kxYLV4L\r\nkRBjSMYsCVuEjiRMpOKDurt8D/deIYx61iY/MJ9tfY0fyCajuPBogEBL1gK4\r\n7yKDvZ75xjUcYyZS3YeU1tGMqDMrDvC+p1Xm5LS4I8Q4bX4EQ5fCJerj10cj\r\nZPZk+FK1FHhffTEu9+aTD0EVJoJ9JKR6/PJLWTuNuG/BBLKDHJNU6CPjfju1\r\nAqutvez2oxXxsY/9U92a8VwBFU5IiekWm5TG/PyWy6hN//aGJ02OdNOtUzDH\r\nDIxnQsa7ppo/kAhIBkK0bAs/XPterHqufDR2oCbiAwecu1if18izqlacC7+f\r\ng+3qXChToQMHr6+T/DpeG44i3RdRI0LvKazekG7gTxjbat2dzJyqi/lqi599\r\npfKjINinjpZ9UA3Yp4v55kVU7sIb+h18PDjAAK81zrq+caoOONlzZG1QElPk\r\nwN4noScRWmhxitpl0XQuh9h9FO0ELgotgAE=\r\n=E1nW\r\n-----END PGP SIGNATURE-----\r\n","size":2395,"noattachment":false,"key":"/@putout/plugin-montag/-/@putout/plugin-montag-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","tmp":"tmp/plugin-montag_2.0.0_1678448020300_0.6187211472225165"},"_hasShrinkwrap":false,"readme":"# @putout/plugin-apply-montag [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-montag.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-montag\"npm\"\n\n> Format multiline strings using tagged templates, instead of putting all lines into an array and joining to a string.\n>\n> (c) [**Montag**](https://github.com/coderaiser/montag)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to apply [**Montag**](https://github.com/coderaiser/montag). Renamed to [@putout/plugin-montag](https://www.npmjs.com/package/@putout/plugin-montag).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-montag\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"montag/apply\": \"on\",\n        \"montag/declare\": \"on\"\n    }\n}\n```\n\n## apply\n\n### ❌ Example of incorrect code\n\n```js\nconst a = [\n    'hello',\n    'world',\n].join('\\n');\n```\n\n### ✅ Example of correct code\n\n```js\nconst a = montag`\n    hello\n    world\n`;\n```\n\n## declare\n\n### ❌ Example of incorrect code\n\n```js\nconst a = montag`\n    hello\n    world\n`;\n```\n\n### ✅ Example of correct code\n\n```js\nimport montag from 'montag';\nconst a = montag`\n    hello\n    world\n`;\n```\n\n## License\n\nMIT\n","publish_time":1678448020464,"_cnpm_publish_time":1678448020464,"dist-tags":{"latest":"5.2.5"}}