1.0.0 • Published 4 years ago

txtcolor v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

txtColor

tokenscape version

Description

A small package to change the background and foreground color of text

Installation

npm i txtcolor

Usage

require the package and access its properties. Background colors are denoted by a bg preceding the color and foreground colors are denoted by a fg in the same manner.

const txtColor = require('txtcolor')

console.log(txtColor.fgRed, "This is some red text!", txtColor.Reset)
console.log(txtColor.fgGreen, "This is some green text!", txtColor.Reset)