node-red-contrib-taiponrock22 1.3.0
A Node-RED node that replaces message payloads with Taiponrock
node-red-contrib-taiponrock
Overview
taiponrock is a Node-RED node for learning how to create, test, package, and
publish a custom node. It replaces every incoming message payload with the
constant string Taiponrock, regardless of the original payload type.
How to use
- Install the package from the Node-RED palette manager, or link this
repository locally with
npm link. - Restart Node-RED.
- Add the taiponrock node from the function category to a flow.
- Connect an Inject node to taiponrock, then connect it to a Debug node.
- Deploy the flow and trigger the Inject node. The Debug sidebar displays
Taiponrock.
Local development
Run the unit tests with:
npm test
To test the node in a local Node-RED installation:
npm link
Then restart Node-RED and deploy a flow containing the node.
Requirements
- Node.js 18 or newer
- Node-RED 3.x or newer
License
Apache-2.0