{"dist":{"shasum":"69c1af3f02121f3d8788e02e84dc8b3905d71195","tarball":"https://registry.npmjs.org/here/-/here-0.0.2.tgz","integrity":"sha512-U7VYImCTcPoY27TSmzoiFsmWLEqQFaYNdpsPb9K0dXJhE6kufUqycaz51oR09CW85dDU9iWyy7At8M+p7hb3NQ==","signatures":[{"sig":"MEYCIQDGNXK4+u4++h0Md0/YQgja4R5U/ImOpIpg4u5Wh0lwNQIhAKE0fXOD8yn0p3f2pD+bXhqGPaY3LAfwFOAUYIrSp4tU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/here.js","name":"here","author":{"name":"cho45"},"readme":"node-here.js\n============\n\nhttps://github.com/cho45/node-here.js\n\nnode-here.js is here-document feature for node.js.\n\nSYNOPSYS\n========\n\nThis is implemeneted with block comment syntax.\n\n```\nvar here = require('here').here;\n\nvar string = here(/*\n  foo\n  bar\n  baz\n*/);\n\n```\n\nDESCRIPTION\n===========\n\n## `here(/* document */)`\n\n`here` function returns block comment on argument as string like object.\n\n### Escape character\n\nAny characters can be escaped by backslash `\\` like following:\n\n```\nhere(/*\n  /\\* *\\/\n*/); //=> '/* */'\n\nhere(/* \\\\ */); //=> '\\\\'\n```\n\n### WYSIWYG\n\nIf a here document starts with `''/*`, it is wysiwyg mode which does not translate any escape characters.\n\n```\nhere(''/*\n  \\foo\\bar\\baz\n*/); //=> '\\\\fooo\\\\bar\\\\baz'\n```\n\nIn this case, string `*/` can be apeared in here document.\n\n### Returning value\n\n`here()` returns not string but String object. That is like following:\n\n```\nvar a = here(/* foobar */);\ntypeof a === 'object';\n\na.valueOf(); //=> 'foobar'\n\"Hello, \" + a; //=> 'Hello, foobar';\n```\n\n### Method unindent();\n\nReturning String object hav `unindent()` utility method which removes indent in a string.\n\n```\nhere(/*\n  foo\n    bar\n  baz\n*/).unindent()\n```\n\nis convert to following:\n\n```\nfoo\n  bar\nbaz\n```\n","license":"MIT","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"cho45","email":"cho45@lowreal.net"},"keywords":["here","document","utility"],"repository":{"url":"git://github.com/cho45/node-here.js.git","type":"git"},"_npmVersion":"1.1.59","description":"here-document on node.js","directories":{"test":"test"},"maintainers":[{"name":"cho45","email":"cho45@lowreal.net"}],"_id":"here@0.0.2","version":"0.0.2"}