Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 273 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 273 Bytes

rand

A stateful random generator with extra functionalities. To use:

print(Rand.boolean(20) ? 'head' : 'tail'); // it's a head for with 20% chance
Rand.dateTimeYear(2001, 2024) // A random 21th century [DateTime]
Rand.password() // Create a strong password