All Projects → volument → barecolor

volument / barecolor

Licence: MIT license
A tiny JavaScript utility for printing colorful console messages.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to barecolor

Closestx11color
Find the closest xterm-256 colors (between 0 and 255) to an arbitrary HTML hexa color (e.g. #ABCDEF)
Stars: ✭ 13 (-35%)
Mutual labels:  console, color
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+5300%)
Mutual labels:  console, color
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (+5015%)
Mutual labels:  console, color
go-color
A lightweight, simple and cross-platform package to colorize text in terminals
Stars: ✭ 65 (+225%)
Mutual labels:  console, color
Box Cli Maker
Make Highly Customized Boxes for your CLI
Stars: ✭ 115 (+475%)
Mutual labels:  console, color
Mordant
Full-featured text styling for Kotlin command-line applications
Stars: ✭ 382 (+1810%)
Mutual labels:  console, color
colored-console
🌈 Add some color to your console >_
Stars: ✭ 74 (+270%)
Mutual labels:  console, color
console-logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111 (+455%)
Mutual labels:  console, color
Console Logging
Better, prettier commandline logging for Python--with colors! 👻
Stars: ✭ 111 (+455%)
Mutual labels:  console, color
Chalk Animation
🎬 Colorful animations in terminal output
Stars: ✭ 1,489 (+7345%)
Mutual labels:  console, color
Chalk
🖍 Terminal string styling done right
Stars: ✭ 17,566 (+87730%)
Mutual labels:  console, color
strip-ansi-stream
Strip ANSI escape codes
Stars: ✭ 32 (+60%)
Mutual labels:  console, color
color-console
A lightweight header-only C++ library to bring colors to your Windows console with a very-easy-to-use API.
Stars: ✭ 97 (+385%)
Mutual labels:  console, color
Gradient String
🌈 Beautiful color gradients in terminal output
Stars: ✭ 476 (+2280%)
Mutual labels:  console, color
logt
🖥️ A colourful logger for the browser
Stars: ✭ 35 (+75%)
Mutual labels:  console, color
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (+165%)
Mutual labels:  console, color
concolor
Colouring template strings using tags with annotations 🎨
Stars: ✭ 35 (+75%)
Mutual labels:  console, color
manakin
🐦 Prime colors for your Node.js console — quick & safe.
Stars: ✭ 29 (+45%)
Mutual labels:  console, color
Tiza
Console styling for browsers
Stars: ✭ 74 (+270%)
Mutual labels:  console, color
Php Console Spinner
Colorful highly configurable spinner for php cli applications (suitable for async apps)
Stars: ✭ 225 (+1025%)
Mutual labels:  console, color

Barecolor logo

An extremely tiny JavaScript utility for printing colorful console messages. Just ~15 lines of code and no dependencies. Nothing fancy.

Install

npm install barecolor

With pnpm

pnpm install barecolor

Usage

const print = require('barecolor')

// output some colors
print.black('This is black')
print.blue('This is blue')
print.cyan('This is cyan')
print.gray('This is gray')
print.green('This is green')
print.magenta('This is magenta')
print.red('This is red')
print.white('This is white')
print.yellow('This is yellow')

// line versions
print.blackln('This line is black')
print.blueln('This line is blue')
print.cyanln('This line is cyan')
print.grayln('This line is gray')
print.greenln('This line is green')
print.magentaln('This line is magenta')
print.redln('This line is red')
print.whiteln('This line is white')
print.yellowln('This line is yellow')

License

Copyright 2020 OpenJS Foundation and contributors. Licensed under MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].