<commit_before>node-linebot
=======

[![NPM](https://nodei.co/npm/@3846masa%2Flinebot.png?mini=true)](https://nodei.co/npm/@3846masa%2Flinebot/)

# Docs

https://3846masa.github.io/node-linebot/

## Install

```sh
npm install --save @3846masa/linebot
```

## Usage

```javascript
const LineBot = require('@3846masa/linebot');
const bot = new LineBot({
  channelID: 'xxxxxxx',
  channelSecret: 'xxxxxx',
  MID: 'xxxxxx'
});

bot.on('message', (res) => {
  const content = res.content;
  if ( content.contentType === LineBot.CONST.CONTENT_TYPE.TEXT ) {
    bot.postMessage({
      user: content.from,
      message: content.text
    });<commit_msg>Fix README.md<commit_after>node-linebot
=======

[![NPM](https://nodei.co/npm/@3846masa%2Flinebot.png?mini=true)](https://nodei.co/npm/@3846masa%2Flinebot/)

## Docs

https://3846masa.github.io/node-linebot/

## Install

```sh
npm install --save @3846masa/linebot
```

## Usage

```javascript
const LineBot = require('@3846masa/linebot');
const bot = new LineBot({
  channelID: 'xxxxxxx',
  channelSecret: 'xxxxxx',
  MID: 'xxxxxx'
});

bot.on('message', (res) => {
  const content = res.content;
  if ( content.contentType === LineBot.CONST.CONTENT_TYPE.TEXT ) {
    bot.postMessage({
      user: content.from,
      message: content.text
    });
{'fraction_non_alphanumeric': 0.19489559164733178, 'fraction_numerical': 0.03402938901778809, 'mean_word_length': 4.155378486055777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '391807', 'n_tokens_mistral': 537, 'n_tokens_neox': 486, 'n_words': 77}