mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
d214a36e1a
Fix #97 |
||
---|---|---|
.. | ||
74-swearfilter.html | ||
74-swearfilter.js | ||
LICENSE | ||
package.json | ||
README.md |
node-red-node-badwords
A Node-RED node that attempts to filter out messages containing swearwords.
Install
Run the following command in the root directory of your Node-RED install
npm install node-red-node-badwords
Usage
Uses the badwords npm to attempt to filter out messages containing swearwords.
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.
Note : this only operates on payloads of type string. Everything else is blocked.