{"name":"tsml","version":"1.0.0","description":"ES6 template string tag for multi-line cleaning - squash multi-line strings into a single line","main":"tsml.js","scripts":{"test":"node ./test.js"},"repository":{"type":"git","url":"https://github.com/rvagg/servertest.git"},"keywords":["template","templatestring","es6"],"author":{"name":"Rod Vagg","email":"rod@vagg.org"},"license":"MIT","bugs":{"url":"https://github.com/rvagg/servertest/issues"},"homepage":"https://github.com/rvagg/servertest","gitHead":"e14f0f93d0b48138aa79e070484031a5f3cebdfd","_id":"tsml@1.0.0","_shasum":"4b2f52cd9d260c69dfeaae4442d479e49917e6fc","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2-nightly20150323849319a260","_npmUser":{"name":"rvagg","email":"rod@vagg.org"},"maintainers":[{"name":"rvagg","email":"rod@vagg.org"}],"dist":{"shasum":"4b2f52cd9d260c69dfeaae4442d479e49917e6fc","tarball":"http://registry-npm.ywwl.com/tsml/download/tsml-1.0.0.tgz","integrity":"sha512-y91ClHQsbFW1rTczQKZYT5PGV6XGy6XsGhBAagDhCmRteAXmzCGLdF2XKKPFhfgWdGF6PdRDqY9z49UBH8pD0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDTPR61TFbwEn1NqphNvh0/8t8XKVWiYR1YTm2FO9xWAiEArD1EeRG/H7tKW2xfiRDyC7rVUBE8LVPnPIr9jQZlG2A="}],"size":2003,"noattachment":false,"key":"/tsml/-/tsml-1.0.0.tgz"},"directories":{},"deprecated":"no longer maintained","readme":"# tsml\n\n**ES6 template string tag for multi-line cleaning - squash multi-line strings into a single line**\n\nUse template strings to split up complex string creation over multiple lines and have the newlines and newline white-space prefixes cleaned for you.\n\n`tsml` is primarily for code readability. Split up template strings over newlines, indent or add additional blank lines to space things out.\n\n## Example\n\nFrom [changelog-maker](https://github.com/rvagg/changelog-maker):\n\n```js\nconst tsml = require('tsml')\n\nfunction toStringSimple (data) {\n  return tsml`\n\n    * [${data.sha.substr(0, 10)}] - \n    ${data.semver.length ? '(' + data.semver.join(', ').toUpperCase() + ') ' : ''}\n    ${data.revert ? 'Revert \"' : ''}\n    ${data.group ? data.group + ': ' : ''}\n    ${data.summary} \n    ${data.revert ? '\"' : ''}\n    ${data.author ? '(' + data.author + ') ' : ''}\n    ${data.pr}\n\n  `\n}\n\n// -> * [7e88a9322c] - src: make accessors immune to context confusion (Ben Noordhuis) #1238\n```\n\n## License\n\n**tsml** is Copyright (c) 2015 Rod Vagg [@rvagg](https://twitter.com/rvagg) and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.","publish_time":1427598182141,"_cnpm_publish_time":1427598182141,"dist-tags":{"latest":"1.0.1"}}