@ricardomatias/roll

Let's you pick an element randomly based on a chosen probability distribution

Browse on unpkg