node-red-contrib-env 1.0.2
Node-RED Node to read environment variables.
Node-RED enviroment variable reader
Reads enviroment variables from the Node-RED server process using the process.env
node variable.
Installation
Type
yarn add node-red-contrib-env
or
npm install --save node-red-contrib-env
to avoid yarn.
Behavior
There are three ways the node tries to specify the environment variable name which shoud be need in that order
- Use the
key
specified in the node config. - Use the
payload
from the incomming message. - Use the
topic
from the incomming message.