A Node-RED node that attempts to filter out messages containing swearwords.
Run the following command in your Node-RED user directory - typically
npm install node-red-node-badwords
Uses the badwords npm to attempt to filter out messages containing swearwords.
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.