Skip to content

holesail/barely-colours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BarelyColours

BarelyColours is a lightweight JavaScript module that provides an easy way to style console output with colors and text formatting. It allows you to add color and styles to your terminal strings, making them more visually appealing.

Features

  • Support for multiple colors including red, green, blue, yellow, magenta, cyan, black, and white.
  • Bright variants of the standard colors.
  • Text formatting options such as bold, dim, italic, underline, and normal.

Installation

To use BarelyColours, you can clone the repository or install it via npm if it's published.

Clone the Repository

npm i barely-colours

API

colours.red(text)
colours.green(text)
colours.yellow(text)
colours.blue(text)
colours.magenta(text)
colours.cyan(text)
colours.white(text)
colours.black(text)
colours.default(text)
colours.brightRed(text)
colours.brightGreen(text)
colours.brightYellow(text)
colours.brightBlue(text)
colours.brightMagenta(text)
colours.brightCyan(text)
colours.brightWhite(text)
colours.brightBlack(text)
colours.bold(text)
colours.dim(text)
colours.italic(text)
colours.underline(text)
colours.normal(text)
colours.notItalic(text)
colours.notUnderline(text)

About

Colours for Nodejs and Bare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published