to set a minimum and maximum value and generate dummy data? The purpose would be to simulate a chart with the current (real-time) price of a product. Let's suppose that I set a minimum of 100 and a maximum of 500, the library should help me to generate a different value every X seconds which, however, has a consistency within the indicated interval
You don't need a library for that. A simple user-defined function will do the trick.
Could you show an example function for this task please?
Math.random() gives you a float between 0 and 1 to map it to a random number between x and y, you can do: x + (x-y) * Math.random()
Обсуждают сегодня