{"_id":"colorful","_rev":"440275","name":"colorful","description":"colorful if a terminal tool for colors","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"time":{"modified":"2021-08-05T06:32:52.000Z","created":"2012-12-07T13:17:39.332Z","2.1.0":"2013-05-22T07:47:18.162Z","2.0.3":"2013-03-23T02:40:10.889Z","2.0.2":"2013-03-22T08:56:11.276Z","2.0.1":"2013-03-18T09:20:59.167Z","2.0.0":"2013-03-18T08:25:24.147Z","1.3.0":"2013-03-17T10:53:23.023Z","1.2.3":"2013-01-25T13:56:49.875Z","1.2.2":"2013-01-22T08:18:51.038Z","1.2.0":"2013-01-06T06:34:04.152Z","1.1.2":"2012-12-29T16:55:21.818Z","1.1.1":"2012-12-27T05:47:05.984Z","1.1.0":"2012-12-21T15:58:19.775Z","1.0.2":"2012-12-10T06:17:17.039Z","1.0.1":"2012-12-08T08:13:12.486Z","1.0.0":"2012-12-07T13:17:39.332Z"},"users":{"po":true,"preco21":true,"kxbrand":true},"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"versions":{"2.1.0":{"name":"colorful","version":"2.1.0","description":"colorful if a terminal tool for colors","keywords":["color","ansi","256color","console","terminal"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*"},"readmeFilename":"README.md","_id":"colorful@2.1.0","dist":{"shasum":"6a8bdcbc2da42a50db3b4882fa25263aaa1f2d8e","size":3559,"noattachment":false,"key":"/colorful/-/colorful-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-2.1.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1369208838162,"_cnpm_publish_time":1369208838162,"_hasShrinkwrap":false},"2.0.3":{"name":"colorful","version":"2.0.3","description":"colorful if a terminal tool for colors","keywords":["color","ansi","256color","console","terminal"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*"},"readmeFilename":"README.md","_id":"colorful@2.0.3","dist":{"shasum":"c9016a9b043a2c203e848673c314772500d0fa6d","size":3440,"noattachment":false,"key":"/colorful/-/colorful-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-2.0.3.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1364006410889,"_cnpm_publish_time":1364006410889,"_hasShrinkwrap":false},"2.0.2":{"name":"colorful","version":"2.0.2","description":"colorful if a terminal tool for colors","keywords":["color","ansi","256color","console","terminal"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*"},"readmeFilename":"README.md","_id":"colorful@2.0.2","dist":{"shasum":"2fff3dac8ca657e0656a0615eb659e024470dcc3","size":3438,"noattachment":false,"key":"/colorful/-/colorful-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-2.0.2.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1363942571276,"_cnpm_publish_time":1363942571276,"_hasShrinkwrap":false},"2.0.1":{"name":"colorful","version":"2.0.1","description":"colorful if a terminal tool for colors","keywords":["color","ansi","256color","console","terminal"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*"},"readmeFilename":"README.md","_id":"colorful@2.0.1","dist":{"shasum":"85dab055af28a464536cd64efd9fefe58ad9f2a3","size":3490,"noattachment":false,"key":"/colorful/-/colorful-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-2.0.1.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1363598459167,"_cnpm_publish_time":1363598459167,"_hasShrinkwrap":false},"2.0.0":{"name":"colorful","version":"2.0.0","description":"colorful if a terminal tool for colors","keywords":["color","ansi","256color","console","terminal"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*"},"readmeFilename":"README.md","_id":"colorful@2.0.0","dist":{"shasum":"c2de75b0398196f9b626426bcfc07896c2271b6e","size":3373,"noattachment":false,"key":"/colorful/-/colorful-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-2.0.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1363595124147,"_cnpm_publish_time":1363595124147,"_hasShrinkwrap":false},"1.3.0":{"name":"colorful","version":"1.3.0","description":"colorful if a terminal tool for colors","keywords":["color","console","terminal"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.3.0","dist":{"shasum":"28b6cfb934a1d473f9303f92feaac844136b63a1","size":3811,"noattachment":false,"key":"/colorful/-/colorful-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.3.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1363517603023,"_cnpm_publish_time":1363517603023,"_hasShrinkwrap":false},"1.2.3":{"name":"colorful","version":"1.2.3","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.2.3","dist":{"shasum":"5fbd5c9e4495f4c2d2e4578b717ff426a3944921","size":5431,"noattachment":false,"key":"/colorful/-/colorful-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.2.3.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1359122209875,"_cnpm_publish_time":1359122209875,"_hasShrinkwrap":false},"1.2.2":{"name":"colorful","version":"1.2.2","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.2.2","dist":{"shasum":"25cd8f2bce8ea393e367a0961398e8242972ce17","size":5404,"noattachment":false,"key":"/colorful/-/colorful-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.2.2.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1358842731038,"_cnpm_publish_time":1358842731038,"_hasShrinkwrap":false},"1.2.0":{"name":"colorful","version":"1.2.0","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.2.0","dist":{"shasum":"8047faa255cc2b065e82fdde1af7cda50d96c8fd","size":6487,"noattachment":false,"key":"/colorful/-/colorful-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.2.0.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1357454044152,"_cnpm_publish_time":1357454044152,"_hasShrinkwrap":false},"1.1.2":{"name":"colorful","version":"1.1.2","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.1.2","dist":{"shasum":"1e6117b633af8d065a78f2864876e3de88376782","size":6714,"noattachment":false,"key":"/colorful/-/colorful-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.1.2.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1356800121818,"_cnpm_publish_time":1356800121818,"_hasShrinkwrap":false},"1.1.1":{"name":"colorful","version":"1.1.1","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.1.1","dist":{"shasum":"41998fe58901bf0b742ade7a531a5254971acf0c","size":6744,"noattachment":false,"key":"/colorful/-/colorful-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.1.1.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1356587225984,"_cnpm_publish_time":1356587225984,"_hasShrinkwrap":false},"1.1.0":{"name":"colorful","version":"1.1.0","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.1.0","dist":{"shasum":"048724b1361ae48094e2ffd079724d4c6dea59a4","size":6685,"noattachment":false,"key":"/colorful/-/colorful-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.1.0.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1356105499775,"_cnpm_publish_time":1356105499775,"_hasShrinkwrap":false},"1.0.2":{"name":"colorful","version":"1.0.2","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.0.2","dist":{"shasum":"579ebe873ba5568550e3ac0b04e2c32ed4b1df37","size":5961,"noattachment":false,"key":"/colorful/-/colorful-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.0.2.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"lepture","email":"lepture@me.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1355120237039,"_cnpm_publish_time":1355120237039,"_hasShrinkwrap":false},"1.0.1":{"name":"colorful","version":"1.0.1","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"jshint":"*","mocha":"*","should":"*"},"scripts":{"test":"make test"},"readmeFilename":"README.md","_id":"colorful@1.0.1","dist":{"shasum":"774167fa96b4e675ce95d28619feae0351aa97b3","size":5877,"noattachment":false,"key":"/colorful/-/colorful-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.0.1.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"lepture","email":"sopheryoung@gmail.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1354954392486,"_cnpm_publish_time":1354954392486,"_hasShrinkwrap":false},"1.0.0":{"name":"colorful","version":"1.0.0","description":"colorful if a terminal tool for color, logging and command","keywords":["color","logging","console","terminal","command"],"author":{"name":"Hsiaoming Yang","email":"lepture@me.com"},"repository":{"type":"git","url":"https://github.com/lepture/colorful.git"},"devDependencies":{"mocha":"*","should":"*"},"scripts":{"test":"./node_modules/.bin/mocha --reporter spec"},"readmeFilename":"README.md","_id":"colorful@1.0.0","dist":{"shasum":"8fab440d9f36461df3654c8a2fe2da36172d50a1","size":3417,"noattachment":false,"key":"/colorful/-/colorful-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorful/download/colorful-1.0.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"lepture","email":"sopheryoung@gmail.com"},"maintainers":[{"name":"lepture","email":"sopheryoung@gmail.com"}],"directories":{},"publish_time":1354886259332,"_cnpm_publish_time":1354886259332,"_hasShrinkwrap":false}},"readme":"# Colorful support for terminal\n\n---------------------\n\n## Color\n\ncolor as function:\n\n```javascript\nvar color = require('colorful').color\ncolor.red('hello')\ncolor.underline('hello')\n```\n\ncolor as human:\n\n```javascript\nrequire('colorful').colorful()\n'hello'.to.red.color\n'hello'.to.underline.bold.red.color\n```\n\ncolor and style supports:\n\n- `black` `black_bg`\n- `red` `red_bg`\n- `green` `green_bg`\n- `yellow` `yellow_bg`\n- `blue` `blue_bg`\n- `magenta` `magenta_bg`\n- `cyan` `cyan_bg`\n- `white` `white_bg`\n- `gray` `grey` `gray_bg` `grey_bg`\n-  bold\n-  italic\n-  underline\n-  blink\n-  inverse\n-  strike\n\nand detect is color supported:\n\n```javascript\nrequire('colorful').color.isSupported\n```\n\n## Logging\n\nColorful and nested logging support.\n","_attachments":{},"readmeFilename":"README.md"}