1.0.2 • Published 7 years ago

node-red-contrib-env v1.0.2

Weekly downloads
48
License
MIT
Repository
github
Last release
7 years ago

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

  1. Use the key specified in the node config.
  2. Use the payload from the incomming message.
  3. Use the topic from the incomming message.