{"bugs":{"url":"https://github.com/rjrodger/mstring/issues"},"dist":{"shasum":"8a268b1b2deade1e58e4d1eba5484a9fefafaf02","tarball":"https://registry.npmjs.org/mstring/-/mstring-0.1.2.tgz","integrity":"sha512-R0GcIi2lIgyV8jM3l9JEfvA6xt6Q9jt/FjMuY250QLmLp67SlaKlafctZIxHzjv1nbJbdMJYwljnJHJ/VkAk3w==","signatures":[{"sig":"MEYCIQCZFc/CcDAr3/dy/FZpqiDehNzB9DG5tctZFrtcBa6CZgIhAMu7vqyiJ0O/xPbMgLxid9PEk7Abh5eeF6/Pg8fFKud6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"mstring.js","name":"mstring","_from":".","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(){\n  /***\n  Ontario\n  Mining and\n  Forestry\n  Group\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, as is any indentation.\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"},"homepage":"https://github.com/rjrodger/mstring","keywords":["multi","line","multiline","string","strings"],"repository":{"url":"git://github.com/rjrodger/mstring.git","type":"git"},"_npmVersion":"1.3.14","description":"Multi-line strings module for node.js","maintainers":[{"name":"rjrodger","email":"richard.rodger@nearform.com"}],"contributors":[{"url":"http://richardrodger.com/","name":"Richard Rodger"},{"url":"@dfkaye","name":"David Kaye"},{"name":"Dominic Tarr"}],"readmeFilename":"README.md","_id":"mstring@0.1.2","version":"0.1.2"}