chalk-konsole
v1.0.9
Published
A small library which exposes some helpful utilities for using the Chalk library in the console
Downloads
14
Maintainers
Readme
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. |
