CLI alerts with colors and symbols: success, info, warning, error. Cross platform comaptible: Windows, MacOS,
npm install better-cli-alertsCross platform CLI Alerts with colors with Catpuccin colors and custom messages.
Work on macOS, Linux, and Windows.

``sh`
npm install better-cli-alerts
`js
const alert = require("better-cli-alerts");
// or if you use modules
import alert from "better-cli-alerts";
// Success message
alert({
type: success, All is good!
message: ,YAY :)!
description: ,
});
// Info message
alert({
type: info, Some useful info
message: ,FYI...
description: ,
});
// Warning message
alert({
type: warning, Careful!
message: ,CAREFUL :/
description: ,
});
// Error message
alert({
type: error, Something is wrong!
message: ,OOPS! :(
description: ,
});
// Using custom messages
alert({
type: error, Something is wrong!
message: ,YOUR CUSTOM MESSAGE
description: ,`
});
#### ❯ options
Type: object{}
Default:
You can specify the options below.
##### ❯ type
Type: stringerror
Default:
##### ❯ msg
Type: stringYou forgot to define all options.
Default: (Error message)
##### ❯ description
Type: string''` (Empty string)
Default:
- MIT © Matteo Stara
- Code of Conduct
Chalk For providing a zero dependency way to bring colors to the terminal ◓
Log Symbols For providing beautifully simple icons to complement the error messages 🔣
Catpuccin Simply the best theme palette for anything, and the one we use here 🐈
Ahmad Awais For introducing me to the amazing world of CLI tools written in Node and JavaScript 🚀