{"_id":"ansi-colorizer","_rev":"768348","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":"cjohansen","email":"christian@cjohansen.no"},{"name":"dominykas","email":"hello@dominykas.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"time":{"modified":"2024-06-28T11:36:16.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","tarball":"http://registry-npm.ywwl.com/ansi-colorizer/download/ansi-colorizer-1.0.1.tgz","integrity":"sha512-dzuWrGA56vhc2i1KHcGxCwSU5TnNjYGsta3j+6sY7v3PoHadirJQmHlPOs41IyUyuOj2he+mwsrDfYGzICbYnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFawRpVb13BWFMCON1HHJRoPqbqhENQoQs+C81ddIu05AiEAuSyGUFH/Ujn+NZdr04RhC3kxg32O1ZwIgHzXaKRW0b8="}],"size":3587,"noattachment":false,"key":"/ansi-colorizer/-/ansi-colorizer-1.0.1.tgz"},"maintainers":[{"name":"augustl","email":"august@augustl.com"},{"name":"cjohansen","email":"christian@cjohansen.no"},{"name":"dominykas","email":"hello@dominykas.com"},{"name":"dwittner","email":"d.wittner@gmx.de"}],"directories":{},"deprecated":"No longer maintained","publish_time":1447325229833,"_cnpm_publish_time":1447325229833},"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","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","publish_time":1379370421465,"_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"},"_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","publish_time":1353967396680,"_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"}