rangi
v1.0.2
Published
A Dead Simple Terminal Color Module
Downloads
8
Readme
🎨 Rangi
A dead simple Node.js terminal styling module that doesn't depend on any other module and is light-weight.
"Rangi" is a Kiswahili word which translates to "color"
Demo
Install
npm i rangi -S
Usage
const rangi = require("rangi");
// color styling
console.log(rangi.cyan("Hello World! This text is cyan in color!"));
// text formatting
console.log(rangi.bold("Hello World! This text is bold in style!"));
Supported Colors
Green
Magenta
Cyan
Blue
White
Grey
Black
Yellow
Red
Supported Text Styles
Bold
Italic
Underline
Inverse
- Inverted black and white text only
Supported Shells
Windows CMD
Terminal
X-Term