<commit_before><commit_msg>added cleaner.js readme<commit_after># HomA - Cleaner.js
This is a small Node.js command-line utility to quickly clean up retained MQTT messages. 

### Installation
```
$ npm install
```

### Start
``` 
$ node cleaner.js [--brokerHost 127.0.0.1] [--brokerPort 1883]
```

Input the number of the retained topic you would like to unpublish. New retained messages are added to the list automatically. 
{'fraction_non_alphanumeric': 0.10730593607305935, 'fraction_numerical': 0.0228310502283105, 'mean_word_length': 3.6702127659574466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2608536', 'n_tokens_mistral': 151, 'n_tokens_neox': 133, 'n_words': 50}