Skip to content

theticarcher38/terminal-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']);

About

A npm package to add some styling to terminal output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages