{"name":"@putout/plugin-montag","version":"4.0.0","type":"module","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+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","putout-plugin-apply","plugin","montag"],"devDependencies":{"@putout/eslint-flat":"^2.0.0","@putout/test":"^12.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^25.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=39"},"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-montag@4.0.0","gitHead":"ef67ca1500ba7cffd88d7689d3ece169df8dab65","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.14.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-gYKH4CjBGyyGZw4yzk5IVLnEuvgo+VrtwHsCsxaB+/CN2IefguGoMTHBZ8Z9uYR5sAMjSjIu0fNkZWWEsC48aA==","shasum":"fe4baa7b1f17053e04d655388692aa7ebfb07948","tarball":"http://registry-npm.ywwl.com/@putout/plugin-montag/download/@putout/plugin-montag-4.0.0.tgz","fileCount":6,"unpackedSize":5057,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDon9XyZbpVsU9XPNH8FIxZCKTtUd/meNYOduR5QbxDKgIhANt9Yg8pe6plh3UcDRoex9Z4qQEIEwJz0svreY9Oh8+v"}],"size":2373,"noattachment":false,"key":"/@putout/plugin-montag/-/@putout/plugin-montag-4.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-montag_4.0.0_1742575845442_0.2762426097586903"},"_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).\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';\n\nconst a = montag`\n    hello\n    world\n`;\n```\n\n## License\n\nMIT\n","publish_time":1742575845617,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1742575845617,"dist-tags":{"latest":"5.2.5"}}