kolors-logger
Kolors-Logger is an NPM Package that allows you to add COLORS to your console!
Install
npm install kolors-logger
yarn add kolors-logger
Use
const kolors = require("kolors-logger");
import kolors from "kolors-logger";
const {
black,
blue,
cyan,
green ,
} = kolors;
Example:
kolors.red("An error occured!!!");
red("An error occured!!!");
Example Image
Things | Type |
---|
black | color |
blue | color |
cyan | color |
green | color |
magenta | color |
red | color |
white | color |
yellow | color |
blink | decoration |
bright | decoration |
dim | decoration |
hidden | decoration |
reset | decoration |
reverse | decoration |
underline | decoration |