2.0.1 • Published 2 years ago

clcn v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Clcn - colored console

Description

Paint your console

Example

CommonJS

const clcn = require("clcn");

console.log(clcn.txtRed("Uwu, this text is red"));

ES Module

import clcn from "clcn";

console.log(clcn.textRed("Uwu, this text is red"));

Functions

Colors

  • Black
    • Text color txtBlack(string)
    • Background color bgBlack(string)
  • Red
    • Text color txtRed(string)
    • Background color bgRed(string)
  • Green
    • Text color txtGreen(string)
    • Background color bgGreen(string)
  • Yellow
    • Text color txtYellow(string)
    • Background color bgYellow(string)
  • Blue
    • Text color txtBlue(string)
    • Background color bgBlue(string)
  • Magenta
    • Text color txtMagenta(string)
    • Background color bgMagenta(string)
  • Cyan
    • Text color txtCyan(string)
    • Background color bgCyan(string)
  • White
    • Text color txtWhite(string)
    • Background color bgWhite(string)

Rainbow Colors

  • Rainbow
    • Text color rainbowText(string)
    • Background color rainbowBackground(string)