node-red-contrib-env

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i node-red-contrib-env

Weekly Downloads

32

Version

1.0.2

License

MIT

Last publish

Collaborators

  • lochbrunner