🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

beep-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beep-cli

A cli to give standard alerts in the terminal.

1.0.4
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

cli

FAQs

Package last updated on 26 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts