1.0.2 • Published 4 years ago

kolors-logger v1.0.2

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

kolors-logger


Kolors-Logger is an NPM Package that allows you to add COLORS to your console!


Install

// NPM
npm install kolors-logger
// yarn
yarn add kolors-logger

Use

// CommonJS
const kolors = require("kolors-logger");
// ModuleJS
import kolors from "kolors-logger";
const {
  black,
  blue,
  cyan,
  green /* and more colors you would like in your terminal */,
} = kolors;

Example:

// with commonjs example
kolors.red("An error occured!!!");
// with modulejs example
red("An error occured!!!");

Example Image

Example Image

ThingsType
blackcolor
bluecolor
cyancolor
greencolor
magentacolor
redcolor
whitecolor
yellowcolor
blinkdecoration
brightdecoration
dimdecoration
hiddendecoration
resetdecoration
reversedecoration
underlinedecoration