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.
- 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.
To use BarelyColours, you can clone the repository or install it via npm if it's published.
npm i barely-colourscolours.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)