{"name":"@putout/plugin-montag","version":"3.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+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/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","lerna":"^6.0.1","madrun":"^10.0.0","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=36"},"license":"MIT","engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-montag@3.0.0","gitHead":"e5d94b459cffed2c217a20e8f113727062222b94","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-uztGdO8qN0ZWgcUuZLSevIwkxZ2xFI9l2N9VJui6U6/VlV3vBsj/rud9DG6PkD6vlYHCLCtcHyTvEzx/PIr3Pg==","shasum":"8d014a276fa03b88ca14ad580c85f99e2749eeef","tarball":"http://registry-npm.ywwl.com/@putout/plugin-montag/download/@putout/plugin-montag-3.0.0.tgz","fileCount":6,"unpackedSize":5087,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFsJqYAOFWoJt0MqADTgohmSG/ZEPlG9KHgInUYH8edAiBnHYD8HaDMFntJXT+kcjWtQL9uXqQaMxgSTk+A1vLoIw=="}],"size":2385,"noattachment":false,"key":"/@putout/plugin-montag/-/@putout/plugin-montag-3.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-montag_3.0.0_1733137506634_0.9419280717911893"},"_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":1733137506868,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1733137506868,"dist-tags":{"latest":"5.2.5"}}