This library has not yet been ported to the New Pico Engine


The random library provides a few convenience utilities to generate random content

General Methods

word

Returns a random word using node random-words package. note that random-words parameters are not supported in krl. 

str = random:word()

uuid

Generates a UUID using node cuid package.

str = random:uuid()


Note that there is no method for generating a random number in this library.  That is available from math:random()