node-red-nodes/analysis/swearfilter
Dave Conway-Jones a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
..
74-swearfilter.html Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
74-swearfilter.js Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
README.md update analysis and utility nodes info style 2016-03-02 13:27:52 +00:00
package.json Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00

README.md

node-red-node-badwords

A Node-RED node that attempts to filter out messages containing swearwords.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

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.