1.1.4 • Published 4 years ago
cli-notify v1.1.4
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!!!`