mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
update storage nodes info style
This commit is contained in:
@@ -3,9 +3,6 @@ node-red-node-redis
|
||||
|
||||
A <a href="http://nodered.org" target="_new">Node-RED</a> node to save data in a Redis database.
|
||||
|
||||
**Note** : This is the same node as was in the core of Node-RED.
|
||||
As of v0.10.8 you will need to install it from here if still required.
|
||||
|
||||
Pre-requisite
|
||||
-------------
|
||||
|
||||
@@ -15,8 +12,7 @@ To run this you need a local Redis server running. For details see <a href="http
|
||||
Install
|
||||
-------
|
||||
|
||||
Run the following command in the root directory of your Node-RED install.
|
||||
Usually this is `~/.node-red` .
|
||||
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||
|
||||
npm install node-red-node-redis
|
||||
|
||||
@@ -25,10 +21,10 @@ Usage
|
||||
|
||||
Simple node to save data in a local Redis instance
|
||||
|
||||
###Output
|
||||
### Output
|
||||
|
||||
A Redis output node. Options include **Hash**, **Set**, **List** and **String**.
|
||||
|
||||
If **key** is blank, the **msg.topic** will be used as the key.
|
||||
If **key** is blank, the `msg.topic` will be used as the key.
|
||||
|
||||
If **type** is *hash*, **msg.payload** should be an *object* or *field=value* string.
|
||||
If **type** is *hash*, `msg.payload` should be an *object* or *field=value* string.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-redis",
|
||||
"version" : "0.0.2",
|
||||
"version" : "0.0.3",
|
||||
"description" : "A Node-RED node to save data to an Redis database",
|
||||
"dependencies" : {
|
||||
"redis" : "0.12.1"
|
||||
|
Reference in New Issue
Block a user