1.0.9 • Published 2 years ago
chalk-konsole v1.0.9
Chalk Konsole
A small library which exposes some helpful utilities for using the Chalk library in the console. This is an early version and currently contains only a few methods, but will be expanded in the future.
Installation
npm install --save chalk-konsoleUsage
import konsole from "chalk-konsole";
konsole.err("Something went wrong", "This is why");
Methods
| Method | Description |
|---|---|
err | Prints an error message with red indicator and optional reason. |
warn | Prints a warning message with yellow indicator and optional reason. |
info | Prints an info message with blue indicator. |
success | Prints a success message with green indicator. |