beep-cli

1.0.4 • Public • Published

Beep-Cli

Beep-cli-Screenshot

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:``
})

Readme

Keywords

Package Sidebar

Install

npm i beep-cli

Weekly Downloads

10

Version

1.0.4

License

ISC

Unpacked Size

32 kB

Total Files

5

Last publish

Collaborators

  • saeed0x1