rand 1.0.2 copy "rand: ^1.0.2" to clipboard
rand: ^1.0.2 copied to clipboard

A stateful random generator with extra functionalities

rand #

A stateful random generator with extra functionalities. To use:

print(Rand.boolean(20) ? 'head' : 'tail'); // it's a head for 20% probability
Rand.dateTime(2001, 2023) // A random 21th century [DateTime]
Rand.password() // Create a strong password
3
likes
0
pub points
70%
popularity

Publisher

unverified uploader

A stateful random generator with extra functionalities

Homepage

License

unknown (LICENSE)

Dependencies

meta

More

Packages that depend on rand