<commit_before># nci-telegram-notification
[![Build Status](https://travis-ci.org/node-ci/nci-telegram-notification.svg?branch=master)](https://travis-ci.org/node-ci/nci-telegram-notification)

Telegram notification plugin for [nci](https://github.com/node-ci/nci)

## Installation

```sh
npm install nci-telegram-notification
```

## Usage

Register telegram bot, just start conversation with `@BotFather`.
Add this plugin to the `plugins` section at server config, set
parameters for telegram bot at `notify.telegram`
```yml
plugins:
    - nci-telegram-notification

notify:
    telegram:
        token: 123:xyz

```
after that you can set telegram notification at project config<commit_msg>add npm version and snyk badges to readme<commit_after># nci-telegram-notification

Telegram notification plugin for [nci](https://github.com/node-ci/nci)

[![Npm version](https://img.shields.io/npm/v/nci-telegram-notification.svg)](https://www.npmjs.org/package/nci-telegram-notification)
[![Build Status](https://travis-ci.org/node-ci/nci-telegram-notification.svg?branch=master)](https://travis-ci.org/node-ci/nci-telegram-notification)
[![Known Vulnerabilities](https://snyk.io/test/npm/nci-telegram-notification/badge.svg)](https://snyk.io/test/npm/nci-telegram-notification)


## Installation

```sh
npm install nci-telegram-notification
```

## Usage

Register telegram bot, just start conversation with `@BotFather`.
Add this plugin to the `plugins` section at server config, set
parameters for telegram bot at `notify.telegram`
```yml
plugins:
    - nci-telegram-notification

notify:
    telegram:
        token: 123:xyz

```
after that you can set telegram notification at project config
{'fraction_non_alphanumeric': 0.1360141927853341, 'fraction_numerical': 0.0035481963335304554, 'mean_word_length': 4.916083916083916, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5052301', 'n_tokens_mistral': 572, 'n_tokens_neox': 536, 'n_words': 124}