{"dist":{"shasum":"69dec3bf2d330e23574cc2a81674f2259aa7a111","tarball":"https://registry.npmjs.org/mstring/-/mstring-0.1.0.tgz","integrity":"sha512-u8bLvrIT4t2/txOEerPvOHAB2tN4fJjOwgea0NMpjoP61FFLR3DtB6oWhmnIKf9/jX01vTtxo+HHa8c5TlORQQ==","signatures":[{"sig":"MEQCIBFoG1s6RNNEvCwT7sA7iYRph4eJWV1OjTA9XISCO4IuAiACYq9g4ppjRTaLhtU8WCqRz2pu8EYDQX2XsChSn/U1KA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"mstring.js","name":"mstring","author":{"url":"@rjrodger","name":"Richard Rodger"},"readme":"# mstring\n\n## Multi-line Strings Module for Node.js\n\nThis is a simple little module that lets you have multi-line strings in JavaScript.\n\nJust do this:\n\n```JavaScript\nvar M = require('mstring')\n\nvar mystring = M(function(){/***\nOntario\nMining and\nForestry\nGroup\n***/})\n```\n\nto get\n\n\n```JavaScript\nmystring == \"Ontario\\nMining and\\nForestry\\nGroup\"\n```\n\nAnd that's pretty much it.\n\n## Install\n\n```sh\nnpm install mstring\n```\n\n## Format\n\nAn empty anonymous function, containing a single multi-line comment\nblock. The comment block should start and end with <code>/***</code>\nand <code>***/</code>. The first and last newlines of the comment are ignored.\n\n\n## How it Works\n\nIn Node.js, you can call the <code>.toString</code> method of a\nfunction, and it will give you the source code of the function\ndefinition, including any comments. A regular expression grabs the\ncontent of the comment.\n\nYes, it's a hack. Inspired by a throwaway comment from [Dominic Tarr](http://dominictarr.com/).\n\n\n\n","license":"MIT","scripts":{"test":"node test.js"},"_npmUser":{"name":"rjrodger","email":"richard.rodger@nearform.com"},"keywords":["multi","line","multiline","string","strings"],"repository":{"url":"git://github.com/rjrodger/mstring.git","type":"git"},"_npmVersion":"1.1.61","description":"Multi-line strings module for node.js","maintainers":[{"name":"rjrodger","email":"richard.rodger@nearform.com"}],"_id":"mstring@0.1.0","version":"0.1.0"}