beep-cli
v1.0.4
Published
A cli to give standard alerts in the terminal.
Downloads
8
Readme
Beep-Cli
A cli module built in node.js. This module will show diffent types of alerts like, success, error, info and warnings.
Installation
npm install beep-cli
Usage
const beep = require("beep-cli")
Example code
const beep = require("./index")
beep({
type:`success`,
msg:`It works !`,
name:`` // It's custom defind name for the beep, It's optional.
})
beep({
type:`error`,
msg:`Something went wrong.`,
name:``
})
beep({
type:`info`,
msg:`Information about the cli.`,
name:``
})
beep({
type:`warning`,
msg:`Sussy Warning !!`,
name:``
})