npm i reuse-alerts
Use this package for extra colors and symbols for your alert messages
Usage
const alert = require('reuse-alerts')
// You can choose between SUCCESS, INFO, WARNING, ERROR
alert()
// Prints:
alert({ type: 'success', msg: 'Completed!', name: 'Hey' })
// Prints:
alert({ type: 'info', msg: 'This worked' })
// Prints:
alert({ type: 'warning', msg: "You didn't add something!" })
// Prints:
alert({ type: 'error', msg: 'Something went wrong' })
// Prints: