It's a simple Node.JS Binary to show in console Notifications with design.
npm i console-notifications --save
Then...
var notifications = require('console-notifications'); // Importing Package
// Success
notifications.Success("Success notification"); // arg 1 = Message
notifications.Success("With Title", "Success notification"); // arg 1 = Message, arg 2 = Title
// Warning
notifications.Warning("Warning notification"); // arg 1 = Message
notifications.Warning("With Title", "Warning notification"); // arg 1 = Message, arg 2 = Title
// Error
notifications.Error("Error notification"); // arg 1 = Message
notifications.Error("With Title", "Error notification"); // arg 1 = Message, arg 2 = Title
// Example command
notifications.ExampleNotify();
Console Notifications supports only 2 arguments, The 2nd argument is optional.
Message
The first argument is message which is message of the Notification.Title
The second argument is Title. Which is optional. It's title of Notificaiton.
Now i'm working on:
Making the arguments be automatically sized