{"_id":"cl-strings","_rev":"14-34bd3a24ebe8f07fa05772a7c5b2fcf7","name":"cl-strings","description":"> String template system for multi-colour console output with interpolation.","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.2":{"name":"cl-strings","version":"0.0.2","description":"> String template system for multi-colour console output with interpolation.","main":"index.js","scripts":{"test":"grunt jasmine_node"},"repository":{"type":"git","url":"https://github.com/shakyShane/cl-strings.git"},"keywords":["cli","strings","command-line","colours"],"author":{"name":"Shane Osbourne"},"license":"MIT","bugs":{"url":"https://github.com/shakyShane/cl-strings/issues"},"devDependencies":{"grunt":"~0.4.2","grunt-jasmine-node":"~0.1.0","grunt-contrib-watch":"~0.5.3"},"dependencies":{"cli-color":"~0.2.3","lodash":"~2.4.1"},"_id":"cl-strings@0.0.2","dist":{"shasum":"f0d1b136ea2dc13699f7b0e5bb09853316558d46","tarball":"https://registry.npmjs.org/cl-strings/-/cl-strings-0.0.2.tgz","integrity":"sha512-W7Gv62p3goX5V/y5OAw356MFcAlxlVgNheD18J6KbGqTV26dcmD4E5AxJgNmK8zgpqGDfM3G69KSVlmW2w5Emg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD3j9McDSX7N/gjQ01rlttOGBJyACIXz3yzdGJtj0zmQIgNOSsu+lfU3edni9T0Y9h2KKe4ZqqMz9Qcw1ri7tWvTI="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shane.osbourne8@gmail.com"}]},"0.0.3":{"name":"cl-strings","version":"0.0.3","description":"> String template system for multi-colour console output with interpolation.","main":"index.js","scripts":{"test":"grunt jasmine_node"},"repository":{"type":"git","url":"https://github.com/shakyShane/cl-strings.git"},"keywords":["cli","strings","command-line","colours"],"author":{"name":"Shane Osbourne"},"license":"MIT","bugs":{"url":"https://github.com/shakyShane/cl-strings/issues"},"devDependencies":{"grunt":"~0.4.2","grunt-jasmine-node":"~0.1.0","grunt-contrib-watch":"~0.5.3"},"dependencies":{"cli-color":"~0.2.3","lodash":"~2.4.1"},"_id":"cl-strings@0.0.3","dist":{"shasum":"e7cbbf2affa8fba231700a3231e54cfa69190516","tarball":"https://registry.npmjs.org/cl-strings/-/cl-strings-0.0.3.tgz","integrity":"sha512-ULMBVteO2/vKzZk3grHT7hiRwqGOHoPKR69zUonsouMW97kvpz3gewKxptAP4LGSUtnMGZB8jr5y3e9EvYm7RQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN9yu/avXCx5KMOaPbbD+IiKuNXhlZWJO6yBiBnHNh7gIhAI0AMwOU9dx1D48bau0vIpWRU1VXD/uzK0rN79M3GDlo"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shane.osbourne8@gmail.com"}]},"0.0.4":{"name":"cl-strings","version":"0.0.4","description":"> String template system for multi-colour console output with interpolation.","main":"index.js","scripts":{"test":"grunt jasmine_node"},"repository":{"type":"git","url":"https://github.com/shakyShane/cl-strings.git"},"keywords":["cli","strings","command-line","colours"],"author":{"name":"Shane Osbourne"},"license":"MIT","bugs":{"url":"https://github.com/shakyShane/cl-strings/issues"},"devDependencies":{"grunt":"~0.4.2","grunt-jasmine-node":"~0.1.0","grunt-contrib-watch":"~0.5.3"},"dependencies":{"cli-color":"~0.2.3","lodash":"~2.4.1"},"_id":"cl-strings@0.0.4","dist":{"shasum":"bae7aea2c18e125fca4cdcc26748c653b562b590","tarball":"https://registry.npmjs.org/cl-strings/-/cl-strings-0.0.4.tgz","integrity":"sha512-QWIsTpH5qhSm/X35+MNNo67Af0H7kHxxRbezMMAS5RRmzoY6zkFZUYzaAOOuw07UtayXERk7pa6S4ZEJnsQ5ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuLOWl75gN4UezFpnxFRehLLwDEIDSKI/YLM7iHCGsCAiEAvW4JcfJO/0EcUS7ejAHZ+mu0P7wgPlirfN11oifnKwo="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shane.osbourne8@gmail.com"}]},"0.0.5":{"name":"cl-strings","version":"0.0.5","description":"> String template system for multi-colour console output with interpolation.","main":"index.js","scripts":{"test":"gulp"},"repository":{"type":"git","url":"https://github.com/shakyShane/cl-strings.git"},"keywords":["cli","strings","command-line","colours"],"author":{"name":"Shane Osbourne"},"license":"MIT","bugs":{"url":"https://github.com/shakyShane/cl-strings/issues"},"devDependencies":{"gulp":"~3.5.2","gulp-mocha":"~0.4.1","gulp-jshint":"~1.4.0","chai":"~1.9.0"},"dependencies":{"chalk":"~0.4.0","lodash":"~2.4.1"},"_id":"cl-strings@0.0.5","dist":{"shasum":"8b8c7df884b603da53b41f92304b0ade780b2192","tarball":"https://registry.npmjs.org/cl-strings/-/cl-strings-0.0.5.tgz","integrity":"sha512-e0weJB7KEAocYuCPEBvHvalEguEW2oIwnFg7Rpsw6xlkDhnE8A/OPNR19bHTFebiUO7oPh679xzvg1nFafj+oQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATTmfv6IYKMFSzJSoS1MtqxGFDXcYbBXWie8DnlmgygAiAXQauRqxP24LnWhKWWcJRPWFrSp5FSTw74l+fNg7D2WA=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"shakyshane","email":"shane.osbourne8@gmail.com"},"maintainers":[{"name":"shakyshane","email":"shane.osbourne8@gmail.com"}]}},"readme":"#cl-strings [![Build Status](https://travis-ci.org/shakyShane/cl-strings.png?branch=master)](https://travis-ci.org/shakyShane/cl-strings)\n> String template system for multi-colour console output with interpolation.\n\nBasically a wrapper around [chalk](https://www.npmjs.org/package/chalk) & [lodash templates](http://lodash.com/docs#template)\n\n\n```\nnpm install cl-strings\n```\n\n##Load as dependency in your project\n```\nvar compile = require(\"cl-strings\").compile\n```\n\n##Usage examples\n\n```js\nvar compile = require(\"./index\").compile;\nvar compileWithPrexfix = require(\"./index\").getCompiler(\"[PREFIX]\");\n\nvar string;\nvar multiLine;\n\n// Single line, single colour\nvar singleLine = \"{green:This is a green string}\";\nconsole.log(compile(singleLine));\n\n// Single Line, multi colour\nvar multiColor = \"{green:This is a green string} with a {red:red string} inside\";\nconsole.log(compile(multiColor));\n\n// With prefix & Multiline\nvar prefixed = [];\nprefixed.push(\"This is line 1\");\nprefixed.push(\"This is line 2\");\nconsole.log(compileWithPrexfix(prefixed));\n\n// With prefix, multiline & colors\nprefixed = [];\nprefixed.push(\"{green:This is line 1 in GREEN}\");\nprefixed.push(\"This is line 2 with no colour\");\nprefixed.push(\"{red:This is line 3 in RED}\");\nconsole.log(compileWithPrexfix(prefixed));\n\n```","maintainers":[{"name":"shakyshane","email":"shane.osbourne8@gmail.com"}],"time":{"modified":"2022-06-13T06:04:50.230Z","created":"2013-12-08T23:08:58.866Z","0.0.2":"2013-12-08T23:09:02.168Z","0.0.3":"2014-01-25T19:52:18.757Z","0.0.4":"2014-01-26T17:56:13.942Z","0.0.5":"2014-02-18T08:52:09.077Z"},"author":{"name":"Shane Osbourne"},"repository":{"type":"git","url":"https://github.com/shakyShane/cl-strings.git"},"readmeFilename":"README.md"}