{"bugs":{"url":"https://github.com/rjrodger/mstring/issues"},"dist":{"shasum":"8c0835e09217996bffe9b235e858c674af103bb4","tarball":"https://registry.npmjs.org/mstring/-/mstring-0.1.1.tgz","integrity":"sha512-Z4lHxm7FEImqS3nEU1q7Tthai6TAYvcjn9SMND+WC/PgyRw0st3HPzfS6RHcq9Hnl6m23DndIlT/Z4fuOBGPCg==","signatures":[{"sig":"MEUCIByZ5xrjIt6nEQZTgkM5rQFDRbKDjWSap37Apa6GD2nTAiEAtOSOaos3DU2Zm0RjZFNLDuWT+9L0LSwWoMYV3BFpPjg=","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"},"keywords":["multi","line","multiline","string","strings"],"repository":{"url":"git://github.com/rjrodger/mstring.git","type":"git"},"_npmVersion":"1.3.11","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.1","version":"0.1.1"}