1.0.2 • Published 4 years ago
kolors-logger v1.0.2
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
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 |