{"_id":"ansi-colorizer","_rev":"941677","name":"ansi-colorizer","description":"Colorize/brighten text for terminals with ANSI escape sequences","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"augustl","email":"august@augustl.com"},{"name":"dominykas","email":"hello@dominykas.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"time":{"modified":"2021-09-23T02:08:01.000Z","created":"2012-11-26T22:03:16.680Z","1.0.1":"2015-11-12T10:47:09.833Z","1.0.0":"2013-09-16T22:27:01.465Z","0.5.0":"2012-11-26T22:03:16.680Z"},"users":{},"author":{"name":"Christian Johansen"},"repository":{"type":"git","url":"git+https://github.com/busterjs/ansi-colorizer.git"},"versions":{"1.0.1":{"name":"ansi-colorizer","version":"1.0.1","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"}],"license":"BSD-3-Clause","main":"./lib/ansi-colorizer","repository":{"type":"git","url":"git+https://github.com/busterjs/ansi-colorizer.git"},"scripts":{"test":"node run-tests.js","test-debug":"node --debug-brk run-tests.js"},"devDependencies":{"sinon":"1.x","referee":"1.x","buster-test":"0.7.x"},"gitHead":"73353b3d1497d9604366596bdeda5a84bc39a13c","bugs":{"url":"https://github.com/busterjs/ansi-colorizer/issues"},"_id":"ansi-colorizer@1.0.1","_shasum":"60517f8bdfe2510985f7923ece781963088edc6b","_from":".","_npmVersion":"3.3.12","_nodeVersion":"4.2.2","_npmUser":{"name":"dominykas","email":"hello@dominykas.com"},"dist":{"shasum":"60517f8bdfe2510985f7923ece781963088edc6b","size":3587,"noattachment":false,"key":"/ansi-colorizer/-/ansi-colorizer-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi-colorizer/download/ansi-colorizer-1.0.1.tgz"},"maintainers":[{"name":"augustl","email":"august@augustl.com"},{"name":"dominykas","email":"hello@dominykas.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"directories":{},"publish_time":1447325229833,"_cnpm_publish_time":1447325229833,"_hasShrinkwrap":false,"deprecated":"No longer maintained"},"1.0.0":{"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","size":3520,"noattachment":false,"key":"/ansi-colorizer/-/ansi-colorizer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi-colorizer/download/ansi-colorizer-1.0.0.tgz"},"maintainers":[{"name":"augustl","email":"august@augustl.com"},{"name":"dominykas","email":"hello@dominykas.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"directories":{},"publish_time":1379370421465,"_hasShrinkwrap":false,"deprecated":"No longer maintained","_cnpm_publish_time":1379370421465},"0.5.0":{"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"},"readmeFilename":"Readme.rst","_id":"ansi-colorizer@0.5.0","dist":{"shasum":"0d491b1f478f7de6a0e20266dc8cb264cf8301ec","size":3533,"noattachment":false,"key":"/ansi-colorizer/-/ansi-colorizer-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi-colorizer/download/ansi-colorizer-0.5.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"cjohansen","email":"christian@cjohansen.no"},"maintainers":[{"name":"augustl","email":"august@augustl.com"},{"name":"dominykas","email":"hello@dominykas.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"directories":{},"publish_time":1353967396680,"_hasShrinkwrap":false,"deprecated":"No longer maintained","_cnpm_publish_time":1353967396680}},"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","_attachments":{},"homepage":"http://busterjs.org/docs/ansi-colorizer","bugs":{"url":"https://github.com/busterjs/ansi-colorizer/issues"},"license":"BSD-3-Clause"}