1.1.4 • Published 4 years ago

cli-notify v1.1.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years 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

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago