{"name":"ansi-colorizer","version":"0.5.0","description":"Colorize/brighten text for terminals with ANSI escape sequences","homepage":"http://busterjs.org/docs/ansi-colorizer","author":{"name":"Christian Johansen"},"contributors":[{"name":"Christian Johansen","email":"christian@cjohansen.no","url":"http://cjohansen.no"},{"name":"August Lilleaas","email":"august.lilleaas@gmail.com","url":"http://augustl.com"},{"name":"Fabian Vogler","email":"fabian@equivalence.ch"},{"name":"Stein Magnus Jodal","email":"stein.magnus@jodal.no","url":"http://jodal.no"}],"main":"./lib/ansi-colorizer","repository":{"type":"git","url":"https://github.com/busterjs/ansi-colorizer.git"},"scripts":{"test":"node run-tests.js"},"devDependencies":{"sinon":"*","referee":"*","buster-test":"0.6.1"},"_id":"ansi-colorizer@0.5.0","dist":{"shasum":"0d491b1f478f7de6a0e20266dc8cb264cf8301ec","tarball":"http://registry-npm.ywwl.com/ansi-colorizer/download/ansi-colorizer-0.5.0.tgz","integrity":"sha512-KOrFExeWPQXDuWfCalqwar2FBO/BBanHSU9kfPhrWSd8bmJaqU/lmGbGJkv0/WlRdpP6WvXhR1NmR4s4Vcb2Zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbj44FaEwjBQJ9S++9pjMI6BAaMdfR4JeqlLXNlPoK+gIhALfOvdRps/twqfJA49kWqSyUKLCXBblNPrKQrHr/MnAJ"}],"size":3533,"noattachment":false,"key":"/ansi-colorizer/-/ansi-colorizer-0.5.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"cjohansen","email":"christian@cjohansen.no"},"maintainers":[{"name":"cjohansen","email":"christian@cjohansen.no"}],"directories":{},"deprecated":"No longer maintained","readme":"# ansi-colorizer\n\n[![Build status](https://secure.travis-ci.org/busterjs/ansi-colorizer.png?branch=master)](http://travis-ci.org/busterjs/ansi-colorizer)\n\n> Dim and bright pretty shell colors\n\n`ansi-colorizer` is a small utility to add ANSI escape sequences to strings to\noutput them with color. Configuring the colorizer produces an object that may\nor may not colorize or brighten text.\n\n### `configure(options)`\n\nReturns a new colorizer instance. Configuration options are `color` and\n`bright`. Both are booleans, and both are `false` by default. If both\nsettings are `false` (the default), the colorizer will not really do anything.\nWhen `color` is `true`, methods colorize strings. When `bright` is\n`true`, all color methods will result in the bright color variant.\n\n```javascript\nvar ansiColorizer = require(\"ansi-colorizer\");\n\nvar colorizer = ansiColorizer.configure({ color: true, bright: false });\ncolorizer.red(\"Hey\"); //=> \"\\x1b[31mHey\\x1b[0m\"\n\ncolorizer = ansiColorizer.configure({ color: true, bright: trie });\ncolorizer.red(\"Hey\"); //=> \"\\x1b[1m\\x1b[31mHey\\x1b[0m\"\n\ncolorizer = ansiColorizer.configure();\ncolorizer.red(\"Hey\"); //=> \"Hey\"\n```    \n\n### `bold(string)`\n\nBrightens the string.\n\n\n### `red(string)`\n\nColors string red.\n\n\n### `yellow(string)`\n\nColors string yellow.\n\n\n### `green(string)`\n\nColors string green.\n\n\n### `purple(string)`\n\nColors string purple.\n\n\n### `cyan(string)`\n\nColors string cyan.\n\n\n### `grey(string)`\n\nColors string grey.\n","publish_time":1353967396680,"_cnpm_publish_time":1353967396680,"dist-tags":{"latest":"1.0.1"}}