terminal-styling
v1.1.4
Published
A npm package to add some styling to terminal output
Downloads
9
Maintainers
Readme
terminal-colors
A npm package to add some styling to terminal output
Does Not Work With JavaScript Currently supports typescript Working on a JavaScript Fix
Installation
npm install terminal-styling
Usage
import { console } from 'terminal-styling'
// Changes terminal output to red
console.err("This is my error message");
// Changes terminal output to yellow
console.warn("This is my warning message");
// Changes terminal output to green
console.info("This is my info message");
// Allows the user to use custom colors
console.customColor(<'Hex Code'>, <is_bold: true || false> <'This is my custom color message'> ['Background Hex']);