mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update analysis and utility nodes info style
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="badwords">
|
||||
<p>Analyses the <b>msg.payload</b> and tries to filter out any messages containing bad swear words...</p>
|
||||
<p>Analyses the <code>msg.payload</code> and tries to filter out any messages containing bad swear words...</p>
|
||||
<p><b>Note:</b> this only operates on payloads of type <b>string</b>. Everything else is blocked.</p>
|
||||
</script>
|
||||
|
||||
|
@@ -6,7 +6,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node that attempts to
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the root directory of your Node-RED install
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-badwords
|
||||
|
||||
@@ -16,6 +16,6 @@ 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.
|
||||
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 <b>string</b>. Everything else is blocked.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-badwords",
|
||||
"version" : "0.0.3",
|
||||
"version" : "0.0.4",
|
||||
"description" : "A Node-RED node that attempts to filter out messages containing swearwords.",
|
||||
"dependencies" : {
|
||||
"badwords" : "0.0.3"
|
||||
|
Reference in New Issue
Block a user