{"name":"ansi-colorizer","version":"1.0.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@1.0.0","dist":{"shasum":"5289a928aa1f6804264fd0cd33571a224305c5d3","tarball":"http://registry-npm.ywwl.com/ansi-colorizer/download/ansi-colorizer-1.0.0.tgz","integrity":"sha512-me/qiLG4LqRIj4xXH8x//hFU7eOaGOgGhno7lRi1YSChIw5u90Y2k8t2R5ewx3EleweU0CHcZLmgAksotCBDDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjtgFNOt0t7tghi/JfscjJbQN6VY7UeyeUYBRx+wjQFwIgN6SIB46dIgptNOlcgIq2THbuVzWFKcq7D+Grk/H7e0A="}],"size":3520,"noattachment":false,"key":"/ansi-colorizer/-/ansi-colorizer-1.0.0.tgz"},"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":1379370421465,"_cnpm_publish_time":1379370421465,"dist-tags":{"latest":"1.0.1"}}