2014-07-06 22:29:30 +02:00
node-red-node-badwords
======================
A < a href = "http://nodered.org" target = "_new" > Node-RED< / a > node that attempts to filter out messages containing swearwords.
Install
-------
2016-03-02 14:24:56 +01:00
Run the following command in your Node-RED user directory - typically `~/.node-red`
2014-07-06 22:29:30 +02:00
npm install node-red-node-badwords
Usage
-----
Uses the badwords npm to attempt to filter out messages containing swearwords.
2016-03-02 14:24:56 +01:00
Analyses the `msg.payload` and tries to filter out any messages containing bad swear words. If the payload contains a bad word then the whole message is blocked.
2014-07-06 22:29:30 +02:00
**Note** : this only operates on payloads of type < b > string< / b > . Everything else is blocked.