{"repo":"jorgebucaran/colorette","free":true,"listed":false,"github":"https://github.com/jorgebucaran/colorette","clone":"git clone https://github.com/jorgebucaran/colorette.git","description":"🌈Easily set your terminal text color & styles","language":"JavaScript","stars":1624,"topics":["colors","ansi","node","cli","terminal","console","browser"],"license":"MIT","category":"cli-tools","readme_excerpt":"🌈Colorette Easily set your terminal text color & styles. - No dependecies - Automatic color support detection - Up to 2x faster than alternatives - TypeScript support - NO COLOR friendly - Node = 10 Upgrading from Colorette 1.x ? Quickstart Here's an example using template literals. You can also nest styles without breaking existing color sequences. Need to override terminal color detection? You can do that too. Installation API \\ () See all supported colors. createColors() Override terminal color detection via createColors({ useColor }) . isColorSupported true if your terminal supports color, false otherwise. Used internally, but exposed for convenience. Environment You can override color detection from the CLI by setting the --no-color or --color flags. Or if you can't use CLI flags, by setting the NO COLOR= or FORCE COLOR= environment variables. Supported colors Colors Background Colors Bright Colors Bright Background Colors Modifiers ------- ----------------- ------------- ------------------------ ----------------- black bgBlack blackBright bgBlackBright dim red bgRed redBright bgRedBright bold green bgGreen greenBright bgGreenBright hidden yellow bgYellow yellowBright bgYellowBright italic blue bgBlue blueBright bgBlueBright underline magenta bgMagenta magentaBright bgMagentaBright strikethrough cyan bgCyan cyanBright bgCyanBright reset white bgWhite whiteBright bgWhiteBright gray Benchmarks Acknowledgments Colorette started out in 2015 by @jorgebucaran as a lightweight","default_branch":null,"files":null,"tree":[],"storefront":"/r/jorgebucaran","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jorgebucaran/colorette/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}