1.2.0 • Published 1 year ago

node-red-contrib-createrandom v1.2.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

node-red-contrib-createrandom

Generate a random value of a certain type using customizable generators.

Quick Start

After installation, the node should be listed under the common category.

  1. Drag a random node onto the palette and open it.
  2. Select a generator type.
  3. Configure options if available. Alternatively, select msg.xxx to provide the value in an incoming message.
  4. 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 vahdettin_in_beta@icloud.com

Copyright and license

Copyright Vahdettin under the Apache 2.0 license.