node-red-nodes/analysis/swearfilter
dceejay ba557b93c1 bump swearfilter overall package version for npm publish 2015-02-13 14:57:17 +00:00
..
74-swearfilter.html Migrate icons. 2014-09-03 16:12:26 +01:00
74-swearfilter.js Update node-red-nodes sample, analysis, storage and time nodes to use strict and pass jshint scan 2014-06-28 23:37:19 +01:00
LICENSE Update swearfilter and wordpos as npms 2014-07-06 21:29:30 +01:00
README.md Update swearfilter and wordpos as npms 2014-07-06 21:29:30 +01:00
package.json bump swearfilter overall package version for npm publish 2015-02-13 14:57:17 +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 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.