node-red-contrib-createrandom 1.2.0
Create random values using configurable type generators.
Generate a random value of a certain type using customizable generators.
Quick Start
After installation, the node should be listed under the [common] category.
- Drag a [random] node onto the palette and open it.
- Select a generator type.
- Configure options if available. Alternatively, select [msg.xxx] to provide the value in an incoming message.
- Use a [inject] node or other method to trigger the value creation.
The node output will always contain two values:
Generator: The name of the generator used. Payload: The randomly created value.
Check out the contextual help for the full list of generators and additional info.
Updates
1.2.0 - Fixed error handling. Note: User generator now outputs a single user object instead of an array containing one single object. 1.1.1 - Fixed NPM packaging. 1.1.0 - Add random user generator. Convert all ops to promises.
Authors
Created by: Vahdettin https://discourse.nodered.org/u/Vahdettin [email protected]
Copyright and license
Copyright Vahdettin under the Apache 2.0 license.