mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question. as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository |
||
---|---|---|
.. | ||
locales | ||
65-redisout.html | ||
65-redisout.js | ||
LICENSE | ||
package.json | ||
README.md |
node-red-node-redis
A Node-RED node to save data in a Redis database.
Pre-requisite
To run this you need a local Redis server running. For details see the Redis site.
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-node-redis
Usage
Simple node to save data in a local Redis instance
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 type is hash, msg.payload
should be an object or field=value string.