node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

@runnerty/notificator-console

A simple console notificator for Runnerty

Configuration

Add the notificator definition in your conf.json

{
  "id": "console_default",
  "type": "@runnerty-notificator-console"
}

Usage

Define the type of console message that you need (or prefer) in your process' events

info mode

info notification on console

{
  "id": "console_default",
  "message": "Things done right.",
  "mode": "info"
}

warn mode

warning notification on console

{
  "id": "console_default",
  "message": "We are out of candy!",
  "mode": "warn"
}

error mode

error notification on console

{
  "id": "console_default",
  "message": "Oh no.",
  "mode": "error"
}