{"_id":"montag@2.0.3","bugs":{"url":"https://github.com/coderaiser/montag/issues"},"dist":{"shasum":"eeff204efc5b2427f42f649f73520060e88defb0","tarball":"http://registry-npm.ywwl.com/montag/download/montag-2.0.3.tgz","fileCount":5,"integrity":"sha512-QHzH7+Ok902oPPPPE95M8c8fqqQuU8lhRWyLbamneTl68TM2sThtkFEZX+flhDHJSO1BL1ssu58FNwUPEiK/sg==","signatures":[{"sig":"MEQCIAgNp12hQuxDnjwAnc2jdcST7wWXiqqynw3NciN+HUbWAiB0BaUPIYOwhgGICH4UZCdT70Iit+lCNnDQq3HzNFwTvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC6kDWfp41E3lcFXAJF6bZYD9djtUaD/HqloEENkIxebAIhAJger58HoN0cKCexc3cdK8RPzOVUJMcPiH6QiGDLC6GR"}],"unpackedSize":6052,"size":2510,"noattachment":false,"key":"/montag/-/montag-2.0.3.tgz"},"main":"./lib/montag.js","name":"montag","type":"module","types":"./lib/montag.d.ts","author":{"url":"http://coderaiser.github.io/","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"engines":{"node":">=22"},"exports":{".":{"types":"./lib/montag.d.ts","default":"./lib/montag.js"}},"gitHead":"4b31224eac68dc46512ec190ee1dab1d838128b4","license":"MIT","scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","wisdom":"madrun wisdom","watcher":"madrun watcher","coverage":"madrun coverage","fix:lint":"madrun fix:lint","test:dts":"madrun test:dts","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:test":"madrun watch:test","watch:coverage":"madrun watch:coverage","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape"},"version":"2.0.3","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"homepage":"https://github.com/coderaiser/montag","keywords":["tag","literal","join","template","array"],"repository":{"url":"git+https://github.com/coderaiser/montag.git","type":"git"},"_npmVersion":"11.2.0","description":"format multiline strings using tagged templates, instead of putting all lines into an array and joining to a string","directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_nodeVersion":"26.8.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.2.1","madrun":"^13.0.1","putout":"^42.4.6","nodemon":"^3.1.14","superc8":"^12.3.1","check-dts":"^1.0.0","supertape":"^13.6.0","eslint-plugin-putout":"^31.1.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/montag_2.0.3_1789515770468_0.41287490036863383"},"readme":"# Montag [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage][CoverageIMGURL]][CoverageURL]\n\n> “If you don’t want a house built, hide the nails and wood.\n> If you don’t want a man unhappy politically, don’t give him two sides to a question to worry him; give him one. Better yet, give him none.”\n>\n> (c) Ray Bradbury \"Fahrenheit 451\"\n\nFormat multiline strings using [tagged templates](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates), instead of putting all lines into an array and joining to a string. Use [@putout/plugin-montag](https://github.com/coderaiser/putout/tree/master/packages/plugin-montag) to convert existing code to `montag`.\n\n## Install\n\n```\nnpm i montag\n```\n\n## How to use?\n\n```js\nimport {montag} from 'montag';\n\nconst str1 = montag`\n    if (a > b)\n        console.log(c);\n`;\n\nconst str2 = [\n    'if (a > b)',\n    '    console.log(c)',\n].join('\\n');\n\nstr1 === str2;\n// returns\ntrue;\n```\n\n## License\n\nMIT\n\n[NPMIMGURL]: https://img.shields.io/npm/v/montag.svg?style=flat&longCache=true\n[BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/montag/master.svg?style=flat&longCache=true\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/montag \"npm\"\n[BuildStatusURL]: https://travis-ci.org/coderaiser/montag \"Build Status\"\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[CoverageURL]: https://coveralls.io/github/coderaiser/montag?branch=master\n[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/montag/badge.svg?branch=master&service=github\n","publish_time":1789515770565,"_cnpm_publish_time":1789515770565,"dist-tags":{"latest":"2.0.3"}}