bee-alerts
v1.0.2
Published
Cross platform CLI Alerts handling with colors & colored symbols for success, info, warning, error. Works on macOS, Linux, Windows
Downloads
9
Maintainers
Readme
bee-alerts
Cross platform CLI alerts handling with colors & colored symbols for success, info, warning, error. Supporting custom labels. Works on macOS, Linux, Windows.
Install
npm i bee-alerts
Usage
const alert = reqire('bee-alerts');
API
alert(options)
> options
Type: object
Default: {}
You can specify the options below.
> type
Type: string
Default: error
> msg
Type: string
Default: You forgot to define all options!
> name
Type: string
Default: ``