mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
bump random node to pickup translations
This commit is contained in:
parent
7cec44d353
commit
696a99eaa3
@ -1,4 +1,4 @@
|
|||||||
Copyright 2016 JS Foundation and other contributors, https://js.foundation/
|
Copyright 2016,2020 JS Foundation and other contributors, https://js.foundation/
|
||||||
Copyright 2013-2016 IBM Corp.
|
Copyright 2013-2016 IBM Corp.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
node-red-node-random
|
# node-red-node-random
|
||||||
====================
|
|
||||||
|
|
||||||
A <a href="http://nodered.org" target="_new">Node-RED</a> node that when triggered generates a random number between two values.
|
A <a href="http://nodered.org" target="_new">Node-RED</a> node that when triggered generates a random number between two values.
|
||||||
|
|
||||||
Install
|
## Install
|
||||||
-------
|
|
||||||
|
|
||||||
Either use the Manage Palette option in the Node-RED Editor menu, or run the following command in your Node-RED user directory - typically `~/.node-red`
|
Either use the Manage Palette option in the Node-RED Editor menu, or run the following command in your Node-RED user directory - typically `~/.node-red`
|
||||||
|
|
||||||
npm i node-red-node-random
|
npm i node-red-node-random
|
||||||
|
|
||||||
|
|
||||||
Usage
|
## Usage
|
||||||
-----
|
|
||||||
|
|
||||||
A simple node to generate a random number when triggered.
|
A simple node to generate a random number when triggered.
|
||||||
|
|
||||||
@ -20,6 +17,6 @@ If set to return an integer it can include both the low and high values.
|
|||||||
`min <= n <= max` - so selecting 1 to 6 will return values 1,2,3,4,5 or 6.
|
`min <= n <= max` - so selecting 1 to 6 will return values 1,2,3,4,5 or 6.
|
||||||
|
|
||||||
If set to return a floating point value it will be from the low value, up to, but
|
If set to return a floating point value it will be from the low value, up to, but
|
||||||
not including the high value. `min <= n < max` - so selecting 1 to 6 will return values 1 <= n < 6 .
|
**not** including the high value. `min <= n < max` - so selecting 1 to 6 will return values 1 <= n < 6 .
|
||||||
|
|
||||||
**Note:** This returns numbers - objects of type **number**.
|
**Note:** This returns numbers - objects of type **number**.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-random",
|
"name" : "node-red-node-random",
|
||||||
"version" : "0.1.4",
|
"version" : "0.2.0",
|
||||||
"description" : "A Node-RED node that when triggered generates a random number between two values.",
|
"description" : "A Node-RED node that when triggered generates a random number between two values.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user