# @runnerty/notifier-console

> Runnerty module: Console notifier

Latest version **3.1.0** (published 2022-02-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @runnerty/notifier-console
pnpm add @runnerty/notifier-console
yarn add @runnerty/notifier-console
bun add @runnerty/notifier-console
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.0 |
| Published | 2022-02-03 |
| First published | 2018-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Runnerty Tech |
| Maintainers | coderty |
| Keywords | runnerty, notifier, console, debug, shell |

## Links

- npm: https://www.npmjs.com/package/@runnerty/notifier-console
- Repository: https://github.com/runnerty/notifier-console
- Homepage: https://github.com/runnerty/notifier-console#readme
- Issues: https://github.com/runnerty/notifier-console/issues
- npm.io page: https://npm.io/package/@runnerty/notifier-console

## Dependencies (1)

- [@runnerty/module-core](https://npm.io/package/@runnerty/module-core.md) ~3.1.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 3.1.0 (latest) — 2022-02-03
- 3.0.0-alpha.1 (alpha) — 2020-12-11
- 3.0.6 — 2022-01-19
- 3.0.5 — 2021-12-31
- 3.0.4 — 2021-09-28
- 3.0.3 — 2021-02-27
- 3.0.2 — 2021-02-11
- 3.0.1 — 2021-02-09
- 3.0.0 — 2021-01-08
- 3.0.0-alpha.0 — 2020-11-15
- 1.0.0 — 2018-01-26

## README

<p align="center">
  <a href="http://runnerty.io">
    <img height="257" src="https://runnerty.io/assets/header/logo-stroked.png">
  </a>
  <p align="center">Smart Processes Management</p>
</p>

[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Dependency Status][david-badge]][david-badge-url]
<a href="#badge">
  <img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg">
</a>


A simple console notifier for [Runnerty]

### Installation:
Through NPM

```bash
npm i @runnerty/notifier-console
```

You can also add modules to your project with [runnerty]

```bash
npx runnerty add @runnerty/notifier-console
```

This command installs the module in your project, adds example configuration in your [config.json] and creates an example plan of use.

If you have installed [runnerty] globally you can include the module with this command:

```bash
runnerty add @runnerty/notifier-console
```
### Configuration sample:
Add in [config.json]:

```json
{
  "notifiers": [
    {
      "id": "console_default",
      "type": "@runnerty-notifier-console"
    }
  ]
}
```

# Usage

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

## info mode
![info notification on console](http://i.imgur.com/IKHy3vC.png)

```json
{
  "notifications": {
    "on_end": [
      {
        "id": "console_default",
        "message": "Things done right.",
        "mode": "info"
      }
    ]
}
```


## warn mode
![warning notification on console](http://i.imgur.com/TdMmGQz.png)

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


## error mode
![error notification on console](http://i.imgur.com/s2D0DxD.png)

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

[Runnerty]: https://www.runnerty.io
[downloads-image]: https://img.shields.io/npm/dm/@runnerty/notifier-console.svg
[npm-url]: https://www.npmjs.com/package/@runnerty/notifier-console
[npm-image]: https://img.shields.io/npm/v/@runnerty/notifier-console.svg
[david-badge]: https://david-dm.org/runnerty/notifier-console.svg
[david-badge-url]: https://david-dm.org/runnerty/notifier-console
[config.json]: http://docs.runnerty.io/config/
[plan.json]: http://docs.runnerty.io/plan/

---
_Source: https://npm.io/package/@runnerty/notifier-console · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
