1.1.4 • Published 7 months ago

cli-notify v1.1.4

Weekly downloads
3
License
MIT
Repository
github
Last release
7 months ago

CLI Notify

Install

npm install cli-notify

Usage

const alert = require('cli-notify');

alert();
// Prints: `✖  ERROR  You forgot to define all options`

alert({type: `error`,msg: `Broken!!!`,name: `eRROR`});
// Prints: `✖  eRROR  Broken!!!`

alert({type: `info`,msg: `Right path!!!`,name: `iNFO`});
// Prints: `ℹ  iNFO  Right path!!!`

alert({type: `success`,msg: `Awesome!!!`,name: `sUCCESS`});
// Prints: `✔  sUCCESS  Awesome!!!`

alert({type: `warning`,msg: `Deprecated!!!`});
// Prints: `⚠  WARNING  Deprecated!!!`

Preview

cli notify

1.1.4

7 months ago

1.1.3

7 months ago

1.1.2

7 months ago

1.1.1

7 months ago

1.1.0

7 months ago